diff --git a/web/components/widgets/scroll-panel.tsx b/web/components/widgets/scroll-panel.tsx index 565dd392..68dbbc44 100644 --- a/web/components/widgets/scroll-panel.tsx +++ b/web/components/widgets/scroll-panel.tsx @@ -83,7 +83,16 @@ export function ScrollPanel(props: { return (
-
+ {/* `!overscroll-y-auto`: `.scrollbar-visible` sets `overscroll-behavior: contain`, which is right + while the panel has somewhere to go — the page shouldn't lurch once the rail hits its end — but + wrong when the content fits. There, containment swallows the wheel entirely and the pointer sits + over a dead zone; releasing it lets the gesture chain to the page, so a short rail scrolls the + document just like the prose column beside it. `!` because both are single-class selectors and + the utility would otherwise lose on source order. */} +
{children}