docs(DocsAskPanel): contain panel scrolling with overscroll-contain - #782
Merged
Conversation
johnleider
marked this pull request as ready for review
August 3, 2026 17:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Wheel scrolling inside the Ask AI panel chained to the page behind it. The messages scroller now carries
overscroll-contain, so wheel input over the conversation area stays in the panel — including when the conversation doesn't overflow (Chromium honorsoverscroll-behavioron a non-overflowing scroll container).Known accepted edges (deliberate — a JS document scroll lock was prototyped and dropped in favor of the CSS-only approach): wheel over the header/footer strips or the 16px margin while maximized, and keyboard scrolling with focus on the body, still reach the page behind.
Verified in-browser (Playwright): wheel over the messages area leaves
window.scrollYuntouched in both docked and maximized modes.