Skip to content

fix(examples): scroll landscape controls panel when content overflows#8707

Merged
mvaligursky merged 1 commit into
mainfrom
mv-examples-control-panel-scroll
May 8, 2026
Merged

fix(examples): scroll landscape controls panel when content overflows#8707
mvaligursky merged 1 commit into
mainfrom
mv-examples-control-panel-scroll

Conversation

@mvaligursky

Copy link
Copy Markdown
Contributor

The landscape (desktop-width) examples UI placed parameters in #controlPanel without a scroll region, so long controls files were unusable when the window was shorter than the panel—unlike the left sidebar, which already used overflow: auto on #sideBar-contents.

Changes:

  • Scope scrolling to #controlPanel.landscape: clip the panel with overflow: hidden and make .pcui-panel-content the scroll container via overflow-y: auto, with a viewport-based max-height and min-height: 0 for reliable overflow.

This restores wheel/trackpad/scrollbar and touch scrolling on short viewports and devices such as Meta Quest Browser.

Match sidebar behavior so tall parameter lists work on short viewports
and touch devices (e.g. Meta Quest browser).
@mvaligursky mvaligursky self-assigned this May 8, 2026
@mvaligursky mvaligursky merged commit 044face into main May 8, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-examples-control-panel-scroll branch May 8, 2026 13:48
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