Skip to content

Commit

Permalink
fix(history): fixed issue when using with freeMode without transition
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Apr 26, 2021
1 parent c90a7bd commit 2902ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/history/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default {
swiper.history.destroy();
}
},
transitionEnd(swiper) {
'transitionEnd _freeModeNoMomentumRelease': (swiper) => {
if (swiper.history.initialized) {
swiper.history.setHistory(swiper.params.history.key, swiper.activeIndex);
}
Expand Down

0 comments on commit 2902ea9

Please sign in to comment.