Performance/lag issues with Grammarly extension? #5270
-
My app is having noticeable performance delays while typing into a slate text editor when Grammarly (chrome extension) is invoked. There is a lag from keystroke to seeing the text updated on the screen. What I've noticed is that if I disable Grammarly (or it does not invoke on screen), the lag problem is no longer observed. In addition, Grammarly acts inconsistently in general - sometimes it is invoked, sometimes not, and while scrolling the page the "Grammarly red underlines" "move" with the scroll, instead of staying with the word. The page often has more than one slate.js editor running (ie, picture a message list with a slate editor for each message). but even with just one editor invoked on the page, performance drops as soon as Grammarly appears. I can't reproduce this problem on the slate rich text example ( https://www.slatejs.org/examples/richtext ). My code is very similar though. I can't spot any significant differences. So I'm really at a loss as to what I'm doing wrong. Does anyone have any suggestions for what I can do to alleviate this? (I realize it likely has nothing to do with Slate itself.) Thanks to anyone who can help! Development environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update:
|
Beta Was this translation helpful? Give feedback.
Update: