-
-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SimpleBar not functional inside initially hidden element (regression from 4.2.3) #406
Comments
Yes, I faced this issue as well. I updated simplebar to fix issue with initial loading and got another issue with hidden elements :( |
Keep handlebars at 4.2.x because handlebars-lang/handlebars.js#1598 breaks our test suite, and simplebar at 4.2.x because of Grsmto/simplebar#406. Upgrade everything else. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
Keep handlebars at 4.2.x because handlebars-lang/handlebars.js#1598 breaks our test suite, and simplebar at 4.2.x because of Grsmto/simplebar#406. Upgrade everything else. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
I am facing a similar issue with a SimpleBar inside some Bootstrap 3 tabs, except that the entire contents of the tab (not just the scrollbar) remains hidden. It can be fixed by either resizing the page or switching back and forth between the tabs. |
Fixed in |
Keep handlebars at 4.2.x because handlebars-lang/handlebars.js#1598 breaks our test suite, and simplebar at 4.2.x because of Grsmto/simplebar#406. Upgrade everything else. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
Describe the bug
In SimpleBar 4.3.0-alpha.1 and later, if you initialize a SimpleBar on something inside a
<div hidden>
container, and then later show the container, the SimpleBar is not functional (the scrollbar doesn’t show and you can’t scroll with the scroll wheel) until you force a recalculation by resizing it. This is a regression from SimpleBar 4.2.3, where it worked correctly.To Reproduce
Steps to reproduce the behavior:
Expected behavior
SimpleBar should work.
Reproducible example
https://jsfiddle.net/anderskaseorg/9f2zmhtq/
Additional context
Add any other context about the problem here.
Your environment
The text was updated successfully, but these errors were encountered: