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
I tested with 9 slides and the following config
{
slidesPerView: 3,
slidesPerGroup: 3,
centeredSlides: true
}.
Initially Swiper display {8, 9, 1}, But I think it should be {9, 1, 2}. After I slide left, it goes from {8, 9, 1} to {7, 8, 9}. Then it slides in group of 3. Also, if I set the initialSlide, it does not make the slide as the initial 'center' slide.
It seems initialSlide is a little misleading in the loop mode. As it does not guarantee to be the 'active' initial slide with slidesPerGroup > 1.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-slides-per-view-auto-forked-3t6nn6
Bug description
I tested with 9 slides and the following config
{
slidesPerView: 3,
slidesPerGroup: 3,
centeredSlides: true
}.
Initially Swiper display {8, 9, 1}, But I think it should be {9, 1, 2}. After I slide left, it goes from {8, 9, 1} to {7, 8, 9}. Then it slides in group of 3. Also, if I set the initialSlide, it does not make the slide as the initial 'center' slide.
It seems initialSlide is a little misleading in the loop mode. As it does not guarantee to be the 'active' initial slide with slidesPerGroup > 1.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
11.2.6
Platform/Target and Browser Versions
macOS
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: