Swiper: Back button doesn't work properly when using loop, slidesPerView and slidesPerGroup

Created on 13 Nov 2018  路  8Comments  路  Source: nolimits4web/swiper

This is a (multiple allowed):

  • [x] bug
  • [ ] enhancement
  • [ ] feature-discussion (RFC)
  • Swiper Version: 4.4.2
  • Platform/Target and Browser Versions: Windows (all major browsers)
  • Live Link or JSFiddle/Codepen or website with isssue: https://codepen.io/anon/pen/pQRLEr

What you did

I hit the back arrow multiple times, with the config you can see in the codepen.

Expected Behavior

The back arrow should change between the groups ( Group 1, Group 2, Group 1, ...)

Actual Behavior

The back arrow always shows group 2 (Slide 3, 4, 5) ( Group 2, Group 2, Group 2, ...)

bug confirmed pagination has demo

Most helpful comment

Please do not close this issue.
This bug still exists with 5.2.0

All 8 comments

Same issue for me, with loop and any combinaison of slidesPerView and slidesPerGroup, when slidesPerGroup > 1.

Going backward seems to be bugged.

Items are not displayed as expected.

I have the same issue with the newest version of swiper (4.5.0) . It seems that the problem appears when you try to go to previous group of slides when on the last view with even number of slides and below settings:

slidesPerView: 3,
slidesPerGroup: 3,
loop: true,

Codepen:

https://codepen.io/tmittlener/pen/BeOqBK

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please do not close this issue.
This bug still exists with 5.2.0

Is there any update on this issue?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This bug still exists in 6.2.0
I updated the codepen

Was this page helpful?
0 / 5 - 0 ratings

Related issues

magic-77 picture magic-77  路  3Comments

aeblin picture aeblin  路  3Comments

Uriziel01 picture Uriziel01  路  3Comments

callumacrae picture callumacrae  路  3Comments

joakimk picture joakimk  路  3Comments