Skip to content

Clip only #root so the app shell cannot scroll the viewport - #91

Merged
unsound-mint merged 1 commit into
mainfrom
denis/viewport-clip
Nov 9, 2026
Merged

unsound-mint merged 1 commit into
mainfrom
denis/viewport-clip

Conversation

@unsound-mint

Copy link
Copy Markdown
Owner

Overflow clip on html/body propagates to the viewport, where clip behaves as hidden and the viewport stays programmatically scrollable, which brought back the blank band under the app. Clipping only #root (made a containing block for absolute descendants) leaves the document exactly viewport-high. CSS only, screen media only.

@unsound-mint
unsound-mint merged commit 44da520 into main Nov 9, 2026
2 checks passed
@unsound-mint
unsound-mint deleted the denis/viewport-clip branch November 9, 2026 08:18
unsound-mint added a commit that referenced this pull request Nov 9, 2026
Clip only #root so the app shell cannot scroll the viewport
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