Bug 239437
| Summary: | AX: macOS "Show scrollbar" setting "when scrolling" not respected, when a website sets scrollbar width | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Christoph <cseelus> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | andresg_22, simon.fraser, smoley, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 10.15 | ||
Christoph
The macOS "Show scrollbar" setting "when scrolling", which automatically hides scrollbars is not respected, when a website sets CSS scrollbar width via `::-webkit-scrollbar`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/91865092>
Smoley
Thanks for filing, link to or attach a test case that demonstrates the issue.
Smoley
Forgot to say please! Thanks again :)
Simon Fraser (smfr)
This is intended behavior. If the page provides custom scrollbars via `::-webkit-scrollbar` then they are always visible.
Christoph
Whats the reasoning behind this decision, e.g. why disregard the users OS settings?
Simon Fraser (smfr)
Because overlay scrollbars have some behaviors that are not describable via custom scrollbars (e.g. they grow on hover).
In general, we'd like to deprecate custom scrollbars.