diff --git a/patches/react-native+0.72.1+004+textViewDidChange.patch b/patches/react-native+0.72.1+004+textViewDidChange.patch new file mode 100644 index 000000000000..a68c67483e87 --- /dev/null +++ b/patches/react-native+0.72.1+004+textViewDidChange.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m b/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m +index 1c8f8e0..10f469b 100644 +--- a/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m ++++ b/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m +@@ -256,7 +256,7 @@ - (BOOL)textView:(__unused UITextView *)textView shouldChangeTextInRange:(NSRang + + - (void)textViewDidChange:(__unused UITextView *)textView + { +- if (_ignoreNextTextInputCall) { ++ if (_ignoreNextTextInputCall && [_lastStringStateWasUpdatedWith isEqual:_backedTextInputView.attributedText]) { + _ignoreNextTextInputCall = NO; + return; + } \ No newline at end of file