Skip to content

fix: don't force overflow: scroll on Safari scroller - #1213

Closed
annahaa874 wants to merge 1 commit into
glideapps:mainfrom
annahaa874:fix/safari-unnecessary-scrollbars
Closed

annahaa874 wants to merge 1 commit into
glideapps:mainfrom
annahaa874:fix/safari-unnecessary-scrollbars

Conversation

@annahaa874

@annahaa874 annahaa874 commented Nov 30, 2026 •

Copy link
Copy Markdown

On Safari, .dvn-scroller is forced to overflow: scroll, so both scrollbar tracks are always rendered, even when the content fits. With macOS "Always show scrollbars" (or a mouse), a grid with only a few rows shows an empty vertical scrollbar (and a horizontal one if applicable). This is Safari-only; other browsers use overflow: auto.

The Safari special case has been there since the initial commit (scroll-region-style.tsx) with no explanation, so this removes it and uses overflow: auto everywhere. browserIsSafari is still used for the kinetic-scroll hack.

@annahaa874 annahaa874 closed this Dec 1, 2026
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