Focus an ask_user card's typed answer as soon as it opens
An "Other" box on a question card is the one thing waiting on the user, so it takes the cursor instead of needing a click first.
This commit is contained in:
@@ -145,6 +145,7 @@ export default function BotQuestionField({
|
||||
onChange={(e) =>
|
||||
onChange({ ...draft, other: e.target.value })
|
||||
}
|
||||
autoFocus
|
||||
/>
|
||||
) : null}
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user