Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Everytime 'Space' is pressed, the entire list repaints (and often the entire editor) #6017

Closed
1 task done
Nantris opened this issue Jan 12, 2025 · 0 comments
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

Comments

@Nantris
Copy link
Contributor

Nantris commented Jan 12, 2025

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 for depth 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

  • Yes, I've updated all my dependencies.
@Nantris Nantris added 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 labels Jan 12, 2025
@Nantris Nantris closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant