Skip to content

Commit

Permalink
fix(core): reset animating flag on translateTo call
Browse files Browse the repository at this point in the history
fixes #7403
  • Loading branch information
nolimits4web committed Mar 20, 2024
1 parent a8d7e7c commit 7da50bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/translate/translateTo.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default function translateTo(
);
swiper.onTranslateToWrapperTransitionEnd = null;
delete swiper.onTranslateToWrapperTransitionEnd;
swiper.animating = false;
if (runCallbacks) {
swiper.emit('transitionEnd');
}
Expand Down

0 comments on commit 7da50bf

Please sign in to comment.