You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac OS X 10.10.2, if you have Preferences/General Show Scrollbar: Only when Scrolling the lib will create custom scrollbars but, it should NOT.
I was diggin' the issue, it was added by this commit. On that commit I was trying to solve an issue when ::-webkit-scrollbar was declared with either a width or an explicit height value, that was causing the scrollbarWidth fn check to return a value greater than zero even when the OS has native overlay-scrollbars. So, by reseting the ::-webkit-scrollbarwidth property to its initial value on the scroll-width fn test, it was (at least) working fine for iOS but not for OS X.
In order to “close” this for now, I am removing the .gm-test::-webkit-scrollbar { width: initial; } declaration I had just for the scrollbarWidth fn test and point to the commit fixing this issue on the readme, recommending to remove any webkit scrollbar pseudo-elements you may have from your CSS. That will solve the issue for iOS and OS X as well. Anyway, why would someone want to have custom css scrollbars when using this lib...
The text was updated successfully, but these errors were encountered:
On Mac OS X 10.10.2, if you have
Preferences/General Show Scrollbar: Only when Scrolling
the lib will create custom scrollbars but, it should NOT.I was diggin' the issue, it was added by this commit. On that commit I was trying to solve an issue when
::-webkit-scrollbar
was declared with either awidth
or an explicitheight
value, that was causing thescrollbarWidth
fn check to return a value greater than zero even when the OS has nativeoverlay-scrollbars
. So, by reseting the::-webkit-scrollbar
width
property to itsinitial
value on the scroll-width fn test, it was (at least) working fine for iOS but not for OS X.In order to “close” this for now, I am removing the
.gm-test::-webkit-scrollbar { width: initial; }
declaration I had just for thescrollbarWidth
fn test and point to the commit fixing this issue on thereadme
, recommending to remove any webkit scrollbar pseudo-elements you may have from your CSS. That will solve the issue for iOS and OS X as well. Anyway, why would someone want to have custom css scrollbars when using this lib...The text was updated successfully, but these errors were encountered: