Skip to content

Commit 355c065

Browse files
pradeepkumarpradeepmdk
authored andcommitted
add patch fix from react 0.72.2
Signed-off-by: pradeepkumar <pradeepkumar@pradeepkumars-MacBook-Pro.local> Signed-off-by: pradeepkumar <kongupradeep@live.com>
1 parent e555022 commit 355c065

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m b/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m
2+
index 1c8f8e0..10f469b 100644
3+
--- a/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m
4+
+++ b/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m
5+
@@ -256,7 +256,7 @@ - (BOOL)textView:(__unused UITextView *)textView shouldChangeTextInRange:(NSRang
6+
7+
- (void)textViewDidChange:(__unused UITextView *)textView
8+
{
9+
- if (_ignoreNextTextInputCall) {
10+
+ if (_ignoreNextTextInputCall && [_lastStringStateWasUpdatedWith isEqual:_backedTextInputView.attributedText]) {
11+
_ignoreNextTextInputCall = NO;
12+
return;
13+
}

0 commit comments

Comments
 (0)