-
-
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
Pagination issue with loop, slidesPerGroup, slidesPerView #6472
Comments
I don't know if this is the same issue but maybe. I confirmed that the OP of this https://stackoverflow.com/questions/75450242/swiper-js-loop-when-slidesperview-is-bigger-than-half-of-the-amount-of-slides is correct about version 9. I reverted to version 8 and it works fine. |
Hi everyone, It seems that there is a problem with the loop. It vibrates when using the grab and pagination lost focus. |
Think this may be similar to what I've just posted? |
Same issue |
Think this is the same issue? |
Any update? |
any improvements ? |
In v9.4.0 too |
Just posted in a closed issue, so maybe worth posting here - in 9.4.1 as well: loop and slidesperview set to auto / more than one:
In this demo the navigation appears to work, but I had another slider with same setup where navigation and mouse drag kept skipping a few slides, and navigation also wasn't advancing the bullets in correct order. I have centeredSlides; true, which seems to be part of the issue, but even with centeredSlides commented out, the pagination bullets break after a while of clicking. The pagination does not seem to know if it should go left or right when clicking the pagination bullet - sometimes from slide 5, instead of going one step right to slide 6, it'll go multiple steps left to slide 6, and leaves out the left-hand slide completely. using Swiper 9.4.1 |
I have the same issue 😢 in v9.4.1, see #6768 notload.mov |
Same issue here. In v9.2.4, but also after upgrade to v9.4.1. Downgrade to version 8 solves the problem. |
@nolimits4web when are you planning to fix this? I can definitely confirm that this is a bug in v9+. Like everyone else v8 works as expected! |
I faced this problem myself. The solution for me was to add an attribute called At least in my setup, this attribute is not added by default by the library. I use swiper elements with angular. My swiper js version is 10. Once I added the attribute with correct values, it was working perfectly. EDIT: If this is expected behaviour, and developers are supposed to be specifying the index, perhaps an indication of the same in the docs is necessary (unless I have missed it) |
Loop mode rarely works properly if slidesPerView is more than 1 |
Swiper v11 comes with reworked and update loop mode. If your issue is replicated with v11, create a new one |
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-slides-per-view-forked-hhfxgt
Bug description
The pagination works randomly with loop, slidesPerGroup and slidesPerView.
This issue appears when is not exactly the number of elements in every group, and in the end, the paginator can not calculate the right position of the current page.
To reproduces in the link just go at the last dot of the pagination and it won't set the last page, but then if click on the first page, the random paginations appears, just trying to go last pages and first page.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
9.1.0
Platform/Target and Browser Versions
Safari, Chrome, Firefox
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: