Skip to content

Commit

Permalink
fix(effect-creative): fix autoplay by watching all slides transition end
Browse files Browse the repository at this point in the history
fixes #4961
  • Loading branch information
nolimits4web committed Sep 16, 2021
1 parent 7ee3d58 commit 86e6fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/effect-creative/effect-creative.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function EffectCreative({ swiper, extendParams, on }) {
const $transitionElements = transformEl ? swiper.slides.find(transformEl) : swiper.slides;
$transitionElements.transition(duration).find('.swiper-slide-shadow').transition(duration);

effectVirtualTransitionEnd({ swiper, duration, transformEl });
effectVirtualTransitionEnd({ swiper, duration, transformEl, allSlides: true });
};

effectInit({
Expand Down

0 comments on commit 86e6fb6

Please sign in to comment.