mobiledoc-kit icon indicating copy to clipboard operation
mobiledoc-kit copied to clipboard

300 char-ish paragraphs are laggy on macbook

Open mixonic opened this issue 9 years ago • 3 comments

Not on a macbook pro, but on some more limited hardware medium-length paragraphs can get laggy.

mixonic avatar Nov 15 '16 23:11 mixonic

As we discussed it appears to be re-rendering the content block on every key press (as indicated by a flicker) which could explain why it starts to get laggy. Interestingly this doesn't happen on numeric key presses just alpha. mobiledocflicker

disordinary avatar Jan 10 '17 07:01 disordinary

If the cursor is at the start or in the middle of a block of text and I type numbers I get the flicker, if the cursor is at the end of the block of text I do not.

I always get the flicker when entering Latin characters, Cyrillic characters, or Chinese characters.

I get no flicker with emoji.

disordinary avatar Jan 10 '17 07:01 disordinary

@mixonic I'll take over the investigation of this if you like.

disordinary avatar Jan 26 '17 00:01 disordinary