Swiper: Clickable Pagination does not navigate to the correct slide

Created on 5 Oct 2018  路  9Comments  路  Source: nolimits4web/swiper

This is a (multiple allowed):

  • [x] bug
  • [ ] enhancement
  • [ ] feature-discussion (RFC)

What you did

click pagination bullet

Expected Behavior

carousel should navigate to the corresponding slide

Actual Behavior

does not go to the correct slide. It usually goes to the next slide

stale

All 9 comments

The last version with somewhat correct behavior was 4.0.7. Although it was still buggy.
I believe this bug got worse in 4.1.0

Same issue:
Even their own website exhibits the same buggy behavior.
Any pagination enabled slider will show the bug.

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.

Why would this be marked as wontfix?
This is an actual bug in your production code.

I solved inserting these lines into option

var swiperOptions = {
preventClicks:false,
preventClicksPropagation:false,
slideToClickedSlide:true,

I Think clicking on pagination bullet interferes in some way on slide interaction so with the above code all is ok...at least for my project

@mr-lizer Thank you so much

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 issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one.

Was this page helpful?
0 / 5 - 0 ratings