You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workspace pages always show an inert root scrollbar #3616
theme.css sets @media screen { html[data-lf-live] { height: 100%; overflow-x: hidden; overflow-y: scroll } }. On a layout-workspace page the document never scrolls, because the tab panes scroll inside it. So with classic scrollbars, the root shows a disabled vertical track 15px wide, with arrows and no thumb.
Measured in headless Chromium on Linux at 1200×900, without --hide-scrollbars:
html scrollHeight and clientHeight are both 900, and setting scrollTop to 10000 reads back 0.
With a long tab open, the tab pane scrolls (785px tall, 2925px of content) while html stays 900/900.
html clientWidth is 1185 of 1200.
Expected: no root scrollbar unless the document overflows, as a workspace stacked on a narrow window does.
Possible fix:html[data-lf-live][data-lf-layout~="workspace"] { overflow-y: auto; }. Use auto rather than hidden, since a stacked workspace does scroll. The same rule added in a page's own CSS took the track from 15px to 0.
Repro: open this page in a browser with classic (non-overlay) scrollbars.
Fixed in #3628, which merged after its checks passed. Live workspace pages now use an automatic root scrollbar: it disappears when only the workspace regions scroll and remains available when the document flows in a short window. The classic-scrollbar regression test covers both sizes; it failed before the CSS change and passed afterward.
Activity
fix: hide idle root scrollbar on workspace pages (#3628)
leaf-agent commentedon Oct 22, 2026
Fixed in #3628, which merged after its checks passed. Live workspace pages now use an automatic root scrollbar: it disappears when only the workspace regions scroll and remains available when the document flows in a short window. The classic-scrollbar regression test covers both sizes; it failed before the CSS change and passed afterward.