The macOS "Show scrollbar" setting "when scrolling", which automatically hides scrollbars is not respected, when a website sets CSS scrollbar width via `::-webkit-scrollbar`
<rdar://problem/91865092>
Thanks for filing, link to or attach a test case that demonstrates the issue.
Forgot to say please! Thanks again :)
This is intended behavior. If the page provides custom scrollbars via `::-webkit-scrollbar` then they are always visible.
Whats the reasoning behind this decision, e.g. why disregard the users OS settings?
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.