From fe8d3b081c0511da240817576a3bf42a4010105f Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 7 Jan 2025 18:29:27 +0000 Subject: Fix double text input in composer (#7381) * upgrade paste input * override how backing uitextinput is created * different approach --- patches/@mattermost+react-native-paste-input+0.7.1.patch | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 patches/@mattermost+react-native-paste-input+0.7.1.patch (limited to 'patches/@mattermost+react-native-paste-input+0.7.1.patch') diff --git a/patches/@mattermost+react-native-paste-input+0.7.1.patch b/patches/@mattermost+react-native-paste-input+0.7.1.patch deleted file mode 100644 index dbf55b095..000000000 --- a/patches/@mattermost+react-native-paste-input+0.7.1.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m b/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m -index e916023..0564d97 100644 ---- a/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m -+++ b/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m -@@ -22,6 +22,11 @@ - (instancetype)initWithBridge:(RCTBridge *)bridge - _backedTextInputView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; - _backedTextInputView.textInputDelegate = self; - -+ // Disable inline predictions to prevent jank in the composer -+ if (@available(iOS 17.0, *)) { -+ _backedTextInputView.inlinePredictionType = UITextInlinePredictionTypeNo; -+ } -+ - [self addSubview:_backedTextInputView]; - } - -- cgit 1.4.1