Skip to content

docs(DocsAskPanel): contain panel scrolling with overscroll-contain - #782

Merged
johnleider merged 2 commits into
masterfrom
docs/ask-panel-fullscreen-scroll-lock
Aug 3, 2026
Merged

docs(DocsAskPanel): contain panel scrolling with overscroll-contain#782
johnleider merged 2 commits into
masterfrom
docs/ask-panel-fullscreen-scroll-lock

Conversation

@johnleider

@johnleider johnleider commented Aug 3, 2026

Copy link
Copy Markdown
Member

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 honors overscroll-behavior on 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.scrollY untouched in both docked and maximized modes.

@johnleider johnleider added this to the v1.0.x milestone Aug 3, 2026
@johnleider johnleider added the documentation Improvements or additions to documentation label Aug 3, 2026
@johnleider johnleider self-assigned this Aug 3, 2026
@johnleider johnleider changed the title docs(DocsAskPanel): contain scrolling to the panel while maximized docs(DocsAskPanel): contain panel scrolling with overscroll-contain Aug 3, 2026
@johnleider
johnleider marked this pull request as ready for review August 3, 2026 17:40
@johnleider
johnleider merged commit ac1e096 into master Aug 3, 2026
22 checks passed
@johnleider
johnleider deleted the docs/ask-panel-fullscreen-scroll-lock branch August 3, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant