[Bug]: React Node Views are not rendered on the initial render, causing layout shift #5166
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
@tiptap/react
Version(s)
2.1.x (also 2.4.x)
Bug Description
Upon the initial load the node view will not be rendered if it's a React node view. This causes a substantial and jarring layout shift
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
There should be no delay rendering node views of any type.
Additional Context
This is a very significant polish problem - the first impression is that the editor we spent a lot of time upgrading is worse than the old one due to this issue. First impressions matter.
Dependency Updates
The text was updated successfully, but these errors were encountered: