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

Fix OverflowNode configuration #6027

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix OverflowNode configuration #6027

wants to merge 1 commit into from

Conversation

zurfyx
Copy link
Member

@zurfyx zurfyx commented May 4, 2024

OverflowNode was badly configured, this was revealed by #6025. It is always inline and can't be empty. Surprisingly, the current configuration was passing all tests fine but the video below show some surprisingly bad behavior when we only fix isInline, we can't have dangling empty span.

Before:

Screen.Recording.2024-05-04.at.4.20.55.PM.mov

After:

Screen.Recording.2024-05-04.at.4.18.55.PM.mov

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 4, 2024
Copy link

vercel bot commented May 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview May 4, 2024 8:26pm
lexical-playground ✅ Ready (Inspect) Visit Preview May 4, 2024 8:26pm

Copy link

github-actions bot commented May 4, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 23.7 KB (0%) 475 ms (0%) 144 ms (+177.09% 🔺) 618 ms
packages/lexical-rich-text/dist/LexicalRichText.js 34.35 KB (0%) 687 ms (0%) 253 ms (+90.52% 🔺) 940 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 34.29 KB (0%) 686 ms (0%) 196 ms (+47.23% 🔺) 882 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants