[Bug]: Everytime 'Space' is pressed, the entire list repaints (and often the entire editor) #6017
Closed
1 task done
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core
Version(s)
2.11.1
Bug Description
I'm not really sure what the issue is here, because I can't reproduce it in all circumstances, but I made a small repro case here: /~https://github.com/Nantris/tiptap-repaint-repro
If you press
Space
deep inside a list, this does not occur except fordepth
that the list exists in.This does not affect plain ProseMirror. Sometimes this does not even affect the repro case. While I was writing this I had it open, went back to play with it more, and suddenly the issue was not occurring.
Note: I am not referring to the delayed full-repaint that occurs after users stop typing - this repaint is immediate, which causes serious performance issues
Note 2: This does not ONLY affect lists, it's just most easily demonstrated there
Tiptap.space.repaint.mp4
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
Space
does not cause the editor to repaint.Additional Context (Optional)
This is causing tremendous performance problems in our application.
Dependency Updates
The text was updated successfully, but these errors were encountered: