-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
centeredSlides with centeredSlidesBounds don't work correct when slidesPerView: 'auto' and width of the swiper bigger then width of slides #7696
Conversation
…slidesPerView: 'auto' and width of the swiper-container bigger then width of slides
Merged, thanks! |
This PR didn't broke your slide, because changes in the PR not applied on your code. The PR changes applied only with slider options (centeredSlides with centeredSlidesBounds)
In your code options I see only option(centeredSlides: true without centeredSlidesBounds) |
Demo here https://jsfiddle.net/pbL17azg/
Try run demo and resize window to breakpoin to 800px or bigger and click to (Slide arrow) to reproduce bug
Added video for visuality bug.
https://github.com/user-attachments/assets/f93246c5-50d9-4bdf-9a98-83300189418d
Bug reproduction if the swiper width bigger then the total width of slides and has option slidesPerView with value 'auto' .