react-native-gifted-chat icon indicating copy to clipboard operation
react-native-gifted-chat copied to clipboard

Long text performance problem

Open SamiAltuncu opened this issue 3 years ago • 3 comments

There is a long text performance problem. How do i solve this problem?

  • react-native-gifted-chat version: "1.0.4"

SamiAltuncu avatar Aug 12 '22 19:08 SamiAltuncu

Hello, any updates on this? I'm facing the same issue here.

fansilva1991 avatar Nov 01 '22 20:11 fansilva1991

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.

TeChn4K avatar Nov 24 '22 14:11 TeChn4K

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

rgommezz avatar Jan 18 '23 02:01 rgommezz