Add patch for RCTBaseTextInput fixing selectTextOnFocus prop (#4533)

* create patch

* remove js fix in `SearchScreen`
This commit is contained in:
Hailey
2024-06-17 00:56:02 -07:00
committed by GitHub
parent 10c6035f31
commit 89be5a442c
3 changed files with 44 additions and 17 deletions
+7
View File
@@ -11,3 +11,10 @@ in the RN repo: https://github.com/facebook/react-native/issues/43388
Patching `RCTRefreshControl.m` and `RCTRefreshControl.h` to add a new `forwarderBeginRefreshing` method to the class.
This method is used by `ExpoScrollForwarder` to initiate a refresh of the underlying `UIScrollView` from inside that
module.
## TextInput Patch - `selectTextOnFocus` fix
Patching `RCTBaseTextInputView.m` to fix an issue where `selectTextOnFocus` does not work as expected on iOS 17. This
patch _only_ fixes the Paper version of `TextInput`. If we migrate to Fabric and the fix has not been made upstream,
we can apply the same fix. See https://github.com/facebook/react-native/pull/44307.