Commit 5f3faf6
[fabric] TextInput should get focus with
Summary:
**Context**
- TextInput focus prop was not wired up for Fabric
**Change**
- Focus the text input if `autofocus={true}`
Test Plan: Tested in top of stack
Reviewers: lefever, #rn-desktop
Reviewed By: lefever
Differential Revision: https://phabricator.intern.facebook.com/D54880714autoFocus prop1 parent 3275685 commit 5f3faf6
File tree
1 file changed
+6
-1
lines changed- packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
0 commit comments