Skip to content

Keep the document as the scroller; remove appShell - #38

Merged
uiwwsw merged 1 commit into
mainfrom
fix/keep-document-scroll
Nov 26, 2026
Merged

uiwwsw merged 1 commit into
mainfrom
fix/keep-document-scroll

Conversation

@uiwwsw

@uiwwsw uiwwsw commented Nov 26, 2026

Copy link
Copy Markdown
Owner

appShell changed the scroller and broke window.scrollTo/scrollY. Removed (unpublished). /with demo back on document scrolling; native scrollbar still hidden on html and body; drawn track stays between header and tab bar.

Checked in the demo: scrollTo 400 → scrollY 400, scrollBy 100 → 500, scrollingElement.scrollTop 250, window scroll events fire, scroller is , track 52–711px. npm test 58 pass, check, build.

🤖 Generated with Claude Code

The package only restyles the scrollbar. appShell moved scrolling from
the document to the content element, which breaks window.scrollTo,
window.scrollY and window scroll listeners. Remove it before 3.2.0 is
published and put the /with demo back on document scrolling: the drawn
scrollbar's track stays between the header and tab bar while the native
scrollbar is hidden on <html> and <body>.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stackflow-next Ready Ready Preview Nov 26, 2026 2:13am UTC

@uiwwsw
uiwwsw merged commit 46bb8b3 into main Nov 26, 2026
4 checks passed
@uiwwsw
uiwwsw deleted the fix/keep-document-scroll branch November 26, 2026 02:13
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