| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This PR was merged into the repository. The changes were merged into the following branches: |
Sorry, something went wrong.
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Problem
Opening the mobile navigation hides vertical scrolling on body, which can remove the classic scrollbar gutter on Safari/desktop setups and change the viewport width mid-animation.
Root cause
The docs shell already uses body as the scroll container. When the nav opens, document.body.style.overflowY = 'hidden' removes the scrollbar, so media queries around the breakpoint can see a different width.
Solution
Reserve the scrollbar gutter on the existing body scroll container with scrollbar-gutter: stable, avoiding a larger scroll-root change while keeping the current scroll-lock behavior.
Fixes #69036.
Tests