react-native-gifted-chat
react-native-gifted-chat copied to clipboard
Long text performance problem
There is a long text performance problem. How do i solve this problem?
- react-native-gifted-chat version: "1.0.4"
Hello, any updates on this? I'm facing the same issue here.
I can confirm on [email protected] With multiple short text message, scroll is normal and snappy. But as soon as a long text bubble appears in the viewport (>100 words / >650 chars), scroll becomes laggy. Even the longpress copy text / cancel interface is slow.
It became an issue for Android 12 & 13 versions on RN 0.70, specifically for inverted lists.
This comment contains a fix you can apply to React Native VirtualizedList directly. Just use patch-package to create a patch file with the changes needed.
https://github.com/facebook/react-native/issues/30034#issuecomment-1374355184