Skip to content

fix(helper): remove 0.17.0 first-paint tab flash - #63

Merged
yusuf-gundogdu merged 1 commit into
mainfrom
helper-0.17.0-flashfix
Sep 28, 2026
Merged

yusuf-gundogdu merged 1 commit into
mainfrom
helper-0.17.0-flashfix

Conversation

@yusuf-gundogdu

Copy link
Copy Markdown
Member

The 0.17.0 guide is a large single file; before the tab script ran, the first paint showed every panel stacked as one long scroll. This marks inactive tab panels hidden in the markup so the initial paint already shows the tabbed view. Verified: with JS off only the active panels render (normal height), with JS on the tab switching still works and no console errors. Only 19 hidden attributes added, no content change.

The guide is one large self-contained file, so before the tab script runs
the browser painted every panel stacked (a long flat scroll on first open).
Mark the inactive tab panels hidden in the markup so the first paint already
matches the tabbed view; the script then manages switching as before. Only
19 hidden attributes added to inactive panels, no content change.
@yusuf-gundogdu
yusuf-gundogdu merged commit 6fca011 into main Sep 28, 2026
5 checks passed
@yusuf-gundogdu
yusuf-gundogdu deleted the helper-0.17.0-flashfix branch September 28, 2026 15:38
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