diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-01-07 18:29:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-07 18:29:27 +0000 |
commit | fe8d3b081c0511da240817576a3bf42a4010105f (patch) | |
tree | cbaa6701231894467a26c5e6ea7613509eb2d4a2 /patches/@mattermost+react-native-paste-input+0.7.1.patch | |
parent | 615bbc35327c71663909e3016527d233fc0ca178 (diff) | |
download | voidsky-fe8d3b081c0511da240817576a3bf42a4010105f.tar.zst |
Fix double text input in composer (#7381)
* upgrade paste input * override how backing uitextinput is created * different approach
Diffstat (limited to 'patches/@mattermost+react-native-paste-input+0.7.1.patch')
-rw-r--r-- | patches/@mattermost+react-native-paste-input+0.7.1.patch | 16 |
1 files changed, 0 insertions, 16 deletions
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]; - } - |