Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 870bff9

Browse files
Assistant: Fixed text field autofocus
1 parent 2a45ae3 commit 870bff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ui/packages/platform/src/pages/Bot/Command/Command.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const Command = React.memo((props: Props) => {
194194
if (!inputRef.current) return
195195
if (window.innerWidth > theme.breakpoints.values.md) inputRef.current.focus()
196196
if (!location.state?.skipReloading) setValue('')
197-
}, [threadId]);
197+
}, [threadId,loading]);
198198

199199
return (
200200
<div className={classes.root}>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /