Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

disable inline predictions to prevent ios composer jank (#3363)

* disable inline predictions to prevent ios composer jank

* temp bump

* Revert "temp bump"

This reverts commit 44c51134a35d817c73edb1e635495597c95117b3.

authored by

Hailey and committed by
GitHub
0ff7e71e 3f79cb3e

+16
+16
patches/@mattermost+react-native-paste-input+0.6.4.patch
··· 3594 3594 PasteInput_compileSdkVersion=30 3595 3595 PasteInput_buildToolsVersion=30.0.2 3596 3596 PasteInput_targetSdkVersion=30 3597 + diff --git a/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m b/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m 3598 + index e916023..0564d97 100644 3599 + --- a/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m 3600 + +++ b/node_modules/@mattermost/react-native-paste-input/ios/PasteInputView.m 3601 + @@ -22,6 +22,11 @@ - (instancetype)initWithBridge:(RCTBridge *)bridge 3602 + _backedTextInputView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; 3603 + _backedTextInputView.textInputDelegate = self; 3604 + 3605 + + // Disable inline predictions to prevent jank in the composer 3606 + + if (@available(iOS 17.0, *)) { 3607 + + _backedTextInputView.inlinePredictionType = UITextInlinePredictionTypeNo; 3608 + + } 3609 + + 3610 + [self addSubview:_backedTextInputView]; 3611 + } 3612 +