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
When an element with data-simplebar is used as a part of flex container, it can grow, but it cannot shrink in Firefox, because min-height: 0; for the simplebar-placeholder class is missing.
Expected behavior
The element with data-simplebar should be able to shrink in firefox as well when used as a part of a flex container.
Reproducible example
Cannot make this library work in jsFiddle at the moment.
Suggested solution(s)
Adding min-height:0 to the simplebar-placeholder class
Additional context
Your environment
Software
Version(s)
SimpleBar
3.1.0
Browser
Mozilla Firefox
npm/Yarn
Operating System
Windows
The text was updated successfully, but these errors were encountered:
🐛 Bugs
Please complete the following template:
Current Behavior
When an element with data-simplebar is used as a part of flex container, it can grow, but it cannot shrink in Firefox, because min-height: 0; for the simplebar-placeholder class is missing.
Expected behavior
The element with data-simplebar should be able to shrink in firefox as well when used as a part of a flex container.
Reproducible example
Cannot make this library work in jsFiddle at the moment.
Suggested solution(s)
Adding min-height:0 to the simplebar-placeholder class
Additional context
Your environment
The text was updated successfully, but these errors were encountered: