We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
slideActiveClass
1 parent 1e4a235 commit 756ecdbCopy full SHA for 756ecdb
src/core/loop/loopFix.js
@@ -49,7 +49,7 @@ export default function loopFix({
49
50
if (typeof activeSlideIndex === 'undefined') {
51
activeSlideIndex = swiper.getSlideIndex(
52
- swiper.slides.filter((el) => el.classList.contains('swiper-slide-active'))[0],
+ swiper.slides.filter((el) => el.classList.contains(params.slideActiveClass))[0],
53
);
54
} else {
55
activeIndex = activeSlideIndex;
0 commit comments