RESOLVED INVALID239437
AX: macOS "Show scrollbar" setting "when scrolling" not respected, when a website sets scrollbar width
https://bugs.webkit.org/show_bug.cgi?id=239437
Summary AX: macOS "Show scrollbar" setting "when scrolling" not respected, when a web...
Christoph
Reported 2022-04-17 12:16:29 PDT
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
Radar WebKit Bug Importer
Comment 1 2022-04-17 12:16:37 PDT
Smoley
Comment 2 2022-05-24 09:06:54 PDT
Thanks for filing, link to or attach a test case that demonstrates the issue.
Smoley
Comment 3 2022-05-24 09:15:11 PDT
Forgot to say please! Thanks again :)
Simon Fraser (smfr)
Comment 4 2022-05-24 12:28:53 PDT
This is intended behavior. If the page provides custom scrollbars via `::-webkit-scrollbar` then they are always visible.
Christoph
Comment 5 2022-07-23 10:29:39 PDT
Whats the reasoning behind this decision, e.g. why disregard the users OS settings?
Simon Fraser (smfr)
Comment 6 2022-07-23 12:07:31 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.