Browse Source

feat(rn): makes InputDialog textInput autoFocus

master
tmoldovan8x8 4 years ago
parent
commit
e4b34e1c89
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      react/features/base/dialog/components/native/InputDialog.js

+ 1
- 0
react/features/base/dialog/components/native/InputDialog.js View File

@@ -96,6 +96,7 @@ class InputDialog extends BaseDialog<Props, State> {
96 96
                         { t(this.props.contentKey) }
97 97
                     </Text>
98 98
                     <TextInput
99
+                        autoFocus = { true }
99 100
                         onChangeText = { this._onChangeText }
100 101
                         style = { _dialogStyles.field }
101 102
                         underlineColorAndroid = { FIELD_UNDERLINE }

Loading…
Cancel
Save