React-custom-scrollbars: scrollbar will hidden in MacOS Safari sometimes

Created on 7 Sep 2016  路  5Comments  路  Source: malte-wessel/react-custom-scrollbars

It only occurs in my mac safari, my friend's mac is fine, our safari as same version, all 9.1.3

I've given the div a static height, but the scrollbar all model box & position values are 0px,

Does anyone has a good idea?

In my safari:

image

image

It be supposed to look like:
image

image

Most helpful comment

Experiencing this on Macbook Pro on Safari and Chrome.
Any plans for fixing this?

All 5 comments

I found the problem is in function getScrollbarWidth(),

the offsetWidth and clientWidth is equal..

image

image

Maybe related to #53

reproduce for me at mac mini only O_O

This issue can be resolved with pull request #97 as it does not directly size the scrollbars.

Experiencing this on Macbook Pro on Safari and Chrome.
Any plans for fixing this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilfa picture ilfa  路  5Comments

elinake picture elinake  路  4Comments

mhemrg picture mhemrg  路  4Comments

leofle picture leofle  路  4Comments

Amdingo picture Amdingo  路  4Comments