Commit c7ecd3c
[fabric] Add responder property to backing text input view protocol
Summary:
Add a `responder` property to support assigning the first responder to the actual textfield/textview if the view is wrapped or not.
The wrapped text view already implements this property. This diff brings the same functionality to the text field and declares it on the common protocol.
Test Plan: Tested later in this stack.
Reviewers: shawndempsey, chpurrer, #rn-desktop
Reviewed By: shawndempsey, chpurrer
Differential Revision: https://phabricator.intern.facebook.com/D51962395
Tasks: T167538822, T1578895911 parent 0994e37 commit c7ecd3c
File tree
2 files changed
+6
-0
lines changed- packages/react-native/Libraries/Text/TextInput
- Singleline
2 files changed
+6
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
220 | 225 | | |
221 | 226 | | |
222 | 227 | | |
| |||
0 commit comments