dabakovich / react-native-controlled-mentions

Fully controlled React Native mentions component
MIT License
213 stars 79 forks source link

Potential issue with Samsung + Grammarly ? #125

Open RobertLiuMTL opened 9 months ago

RobertLiuMTL commented 9 months ago

End 2022/Start 2023, we had to deal with an issue happening on Samsung Devices where the App would crash when Samsung Users would enter text (generally long text) in a TextInput.

The issue (now resolved) can be found here: https://github.com/facebook/react-native/issues/35590

It looks like the same (?) issue is happening with the MentionInput where the App can crash if the User is mentioning someone ("@user_name") and typing a long text.

Repro steps/configuration:

Workarounds

dabakovich commented 9 months ago

Hey @RobertLiuMTL

Thanks for that detailed feedback, especially for the last two workaround options 😅.

Please try to play with the pre-release third version of the library, before forcing users to buy a non-Samsung phone. It uses a slightly different approach for rendering mentions and allows you to directly use the TextInput component from react-native.

I hope it will help you. If not – please write here and we'll investigate this.