Skip to content

Commit

Permalink
Patch React Native's TextInput component to avoid passing the recentl…
Browse files Browse the repository at this point in the history
…y introduced accessibilityState prop which causes issues with assistive keyboards
  • Loading branch information
Gerardo committed Aug 23, 2023
1 parent 4a491eb commit c5f4583
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/react-native+0.71.11.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/node_modules/react-native/Libraries/Components/TextInput/TextInput.js b/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
index 0758df6..18c5687 100644
--- a/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
+++ b/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
@@ -1410,7 +1410,6 @@ function InternalTextInput(props: Props): React.Node {
{...props}
{...eventHandlers}
accessible={accessible}
- accessibilityState={_accessibilityState}
submitBehavior={submitBehavior}
caretHidden={caretHidden}
dataDetectorTypes={props.dataDetectorTypes}

0 comments on commit c5f4583

Please sign in to comment.