react-id-swiper icon indicating copy to clipboard operation
react-id-swiper copied to clipboard

Last slide never gets active

Open AylinCelik opened this issue 4 years ago • 2 comments

When I use slidesPerView: 1.3 and loop: false as params, the last slide never gets the class "swiper-class-active" and the realindex gets never the index of the last slide.

You can reproduce here codesandbox

Would it be possible to make the last slide move to the same position as the other active slides?

Thanks

AylinCelik avatar Apr 28 '20 16:04 AylinCelik

i guess it's a bug. i solve it by adding extra div element or what ever element you using after the last slide

mohammad-21 avatar May 24 '20 18:05 mohammad-21

It's a bug in swiper, not related to this package here: https://github.com/nolimits4web/swiper/issues/3108

mmintel avatar May 28 '20 09:05 mmintel