fix(web): scroll the sidebar independently of the page #489
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-368-sidebar-independent-scroll"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The authenticated shells wrapped the sidebar and the content column in a
flex min-h-screencontainer, so the shell grew with whatever<main>rendered and the document itself was the only scroll container.main'soverflow-autonever engaged, and a wheel/trackpad gesture over the sidebar scrolled the entire page instead of the nav.The shell is now viewport-height with its overflow clipped from the
mdbreakpoint up (the breakpoint at which the sidebar is rendered at all), the sidebar fills that height, pins its brand row and scrolls only its nav, and<main>scrolls itself. Belowmdthere is no sidebar, so the page keeps its natural full-document scroll. The three wrapper class strings are shared constants sodashboard_shellandadmin_shellcannot drift apart.A new test asserts the contract on every authenticated shell: viewport-locked root, a sidebar that clips its own overflow, a
flex-1 overflow-y-autonav, and a self-scrolling<main>. Re-introducing a document-scrolling shell fails it.#BUNYIP-368