Skip to content

Commit 31240b3

Browse files
committed
fix: auto focus input dialogs
1 parent 4455af0 commit 31240b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/src/components/Poll/components/PollInputDialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const PollInputDialog = ({
4141
<View style={[styles.container, { backgroundColor: white }, container]}>
4242
<Text style={[styles.title, { color: black }, titleStyle]}>{title}</Text>
4343
<TextInput
44+
autoFocus={true}
4445
onChangeText={setDialogInput}
4546
placeholder={t<string>('Ask a question')}
4647
style={[styles.input, { color: black }, input]}

0 commit comments

Comments
 (0)