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
We have two linked sliders with { slidesPerView: 3, watchSlidesProgress: true }
Click on slide removes first slides in both sliders;
And it's ok if sliders have more than three slides, but if slides count less or equal 3, than slides in one of sliders miss "swiper-slide-visible" class.
In my example slides without visible class have opacity: 0;
Expected Behavior
All slides in viewport have swiper-slide-visible class
Actual Behavior
Slides of one of slider missing swiper-slide-visible class
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-watch-slides-visibility-forked-qrjoj5?file=%2Findex.html&selection=%5B%7B%22endColumn%22%3A42%2C%22endLineNumber%22%3A118%2C%22startColumn%22%3A42%2C%22startLineNumber%22%3A118%7D%5D
Bug description
We have two linked sliders with { slidesPerView: 3, watchSlidesProgress: true }
Click on slide removes first slides in both sliders;
And it's ok if sliders have more than three slides, but if slides count less or equal 3, than slides in one of sliders miss "swiper-slide-visible" class.
In my example slides without visible class have opacity: 0;
Expected Behavior
All slides in viewport have swiper-slide-visible class
Actual Behavior
Slides of one of slider missing swiper-slide-visible class
Swiper version
8.4.5
Platform/Target and Browser Versions
Windows 10, Chrome 111.0.5563.65
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: