I have a scrollable div. In OS X, the scrollbars auto-hide themselves, which is a bit prettier than always-visible scrollbars but sometimes confuses my users. The general response to this issue is to use ::-webkit-scrollbar
:
How can I prevent scroll bars from being hidden for OS X trackpad users in WebKit/Blink?
CSS - Overflow: Scroll; - Always show vertical scroll bar?
http://blog.0100.tv/2012/11/webkit-scrollbars-on-os-x/
The trouble with these solutions is that they also impact Chrome users on Windows, and I'd like to keep Chrome users on Windows having the same scrolling experience they're used to.
Is there a way to either prevent the scrollbar from hiding on OS X without changing any scrollbar styling, or add something to my CSS so that this only affects Mac users?
Thanks!