Skip to content

fix: prevent initial text position jump#764

Open
pecoram wants to merge 1 commit intolightning-js:mainfrom
pecoram:fix/text-jump
Open

fix: prevent initial text position jump#764
pecoram wants to merge 1 commit intolightning-js:mainfrom
pecoram:fix/text-jump

Conversation

@pecoram
Copy link
Copy Markdown
Contributor

@pecoram pecoram commented Mar 19, 2026

When a Text node is inside an autosized parent with mount enabled, the text appears in the wrong position for 1 frame and then snaps into place.

This is an intentional tradeoff in favor of first-frame visual stability: it shifts some work earlier during node creation to avoid visible repositioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant