react-native-aztec icon indicating copy to clipboard operation
react-native-aztec copied to clipboard

Performance issues when typing fast on a real app

Open daniloercoli opened this issue 7 years ago • 0 comments

We've noticed huge performance issues when integrating RNAztec-android in gb-mobile.

Every time a user inserts new content in the editor, an event is triggered and the JS side gets the updated text in response. Updates the main app state, that in order re-sets the new content into the aztec editor.... I know it seems weird.

That above results, if you type fast, is a bunch of weird behaviours of Aztec. It seems that the editor can't keep up, and/or some input events are "processed" before the new text is set....resulting in slow editing experience, the cursor that jumps behind the text when you delete, and plenty of other problems.

daniloercoli avatar Jun 26 '18 15:06 daniloercoli