Repository navigation
Commit 83a76fa
Derive multiline TextInput state from props (#59218)
Summary:
Pull Request resolved: #59218
Use `TextInputProps::multiline` as the source of truth for multiline checks instead of inferring it from the backed UIKit class. This keeps responder offset and selection restoration logic aligned with the declarative props.
Changelog: [Internal]
Reviewed By: Abbondanzo
Differential Revision: D126285220
fbshipit-source-id: 42274a5f57189257ee27e21de2940c3df28b62051 parent 54b5f22 commit 83a76fa
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
859 | 860 | | |
860 | 861 | | |
861 | 862 | | |
862 | | - | |
| 863 | + | |
| 864 | + | |
863 | 865 | | |
864 | 866 | | |
865 | 867 | | |
| |||
0 commit comments