Simplebar: flickering scrollbar and content in Firefox

Created on 25 Feb 2019  路  5Comments  路  Source: Grsmto/simplebar

I have an weird issue in Firefox where the scrollbar and the scrollable content are flickering as if simplebar can't decide whether a scrollbar is necessary or not. The scrollable container has a max-height of 350px and the issue happens far below this max-height.
It's only in Firefox (Windows, Mac and Linux ... tested at Browserstack) and only in an small area of possible heights.

https://www.dropbox.com/s/jsnmqiueyjkot6h/warenkorb2.mp4?dl=0

http://www.kryolan.einfach-beginnen.de/myaccount-singleorder.html

Any ideas how I could prevent this?

Most helpful comment

I was able to solve the "flickering" issue by adding 1px padding to the bottom of the scrollable container. But still not sure what was causing the problem.

All 5 comments

We are facing the same issue on Firefox when zooming. As mentioned, simplebar adds and removes the vertical scrollbar indefinitely while the container's height is < to max-height.
When the zoom is 100% the same container stops flickering.

Have the same issue. Only happens in firefox. Is there any way to resolve this?

I was able to solve the "flickering" issue by adding 1px padding to the bottom of the scrollable container. But still not sure what was causing the problem.

Guys, I just released [email protected] that would be awesome if you could let me know if this is still happening with the new version.
Thanks for your contribution!

@Grsmto I also had this issue on mac Chrome and Safari. Updated to latest alpha version and now it's working!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JoshClose picture JoshClose  路  7Comments

idiotWu picture idiotWu  路  3Comments

luky1984 picture luky1984  路  5Comments

Aleksandr2015 picture Aleksandr2015  路  6Comments

andrey-evstigneev picture andrey-evstigneev  路  3Comments