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
Slider breaks when inside container with flex-grow #387
Comments
In addition, I cannot assign class |
also when i used update for calculate pagination:
|
I have made the experience that keen-slider does not work well with tailwind. I remember I wanted to make the "div" that had the keen slider ref on it be relative and used the tailwind class |
@welschmoor The keen-slider.io website use tailwind. Problem is a container with flex or padding. |
Hi
The slider breaks in containers where flex-grow is set to 1.
In this case, this bug relates to #227 and #229.
Your solution
However, does not work when we use special slider configurations like
perView: 3
Also I used
slider.update({ slides: { perView: 3, spacing: 15 }});
but dosen't work correctly;https://stackblitz.com/edit/keen-slider-flex-bug
The text was updated successfully, but these errors were encountered: