This is a:
Use the mouse to drag slides, when you get to the end the slides get stuck and the next navigation arrow isn't in the disabled state.
To spring back like it does when you try and go back from the first slide.
The slides get stuck and the next navigation arrow isn't in the disabled state.
Can confirm, also the last slide's images aren't loaded if they are lazy loaded
I can confirm this too, I use 4 slides per group:
var mySwiper = new Swiper('.swiper-container', {
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
}, slidesPerView: 'auto',
freeMode: false,
slidesPerGroup: 4,
spaceBetween: 10,
centerInsufficientSlides:true,
loop: false,
})
I also have this error. In earlier versions it was not.
I think this bug should related with this change:
https://github.com/nolimits4web/swiper/commit/cd87ce51fca74b6ddecb5c64618300d59bacc4c4#diff-a285802d362fd397a1e00fc52eb92e72
More details about this bug:
Encountered this bug today as well (and a lot of other ones too...).
What fixed it for me was declaring the same value for both slidesPerView and slidesPerGroup.
Also had a bug that would make the slider get stuck on resize from lower to higher resolution if i was on the last page. Basically if i was on last page with 2 slides, once i resize to show 3 slides the last slot would be empty and the whole slider would be off position. Resolved this by attaching a slideTo(0) action to the resize event.
Same problem here.
@francesco-bizen adding slidesPerGroup with same value of slidesPerView solved, for me. Thanks a lot! 馃檹
Anyway, waiting for a proper bugfix from Swiper in the next release.
Adding slidesPerGroup with same value as slidesPerView prevents carousel from moving in any direction when the value is 'auto'.
I can also confirm that this bug is occuring. In my instance I am using slidesPerView: "auto" so the slidesPerGroup fix won't work for me.
I had a quick check of @codesignist's PR #3414 and it seems to fix the issue.
@codesignist's PR #3414 fixed the issue for me
Fixed by #3414
Most helpful comment
Same problem here.
@francesco-bizen adding
slidesPerGroupwith same value ofslidesPerViewsolved, for me. Thanks a lot! 馃檹Anyway, waiting for a proper bugfix from Swiper in the next release.