Skip to content
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

Missing min-height: 0; for the simplebar-placeholder class, the content can't shrink when using flex box in Firefox #243

Closed
gustavshf opened this issue Nov 29, 2018 · 4 comments

Comments

@gustavshf
Copy link

gustavshf commented Nov 29, 2018

🐛 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

Software Version(s)
SimpleBar 3.1.0
Browser Mozilla Firefox
npm/Yarn
Operating System Windows
@gustavshf
Copy link
Author

Retested, this would not solve the issue.

@yahyaerturan
Copy link

Having same issue with bootstrap 4 flex sidebar. I have a un-necessary simplebar-placeholder with 1000 px. How can I solve this?

@Grsmto Grsmto reopened this Feb 27, 2019
@Grsmto
Copy link
Owner

Grsmto commented Feb 27, 2019

It's related to #253

@Grsmto
Copy link
Owner

Grsmto commented Apr 12, 2019

Should be fixed in simplebar@4.0.0-alpha.0! 👊

@Grsmto Grsmto closed this as completed Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants