Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nolimits4web/swiper
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Sep 12, 2024
2 parents 66c5dd1 + 869bb84 commit 610ff2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/zoom/zoom.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export default function Zoom({ swiper, extendParams, on, emit }) {
clearTimeout(allowTouchMoveTimeout);
swiper.touchEventsData.preventTouchMoveFromPointerMove = true;
allowTouchMoveTimeout = setTimeout(() => {
if (swiper.destroyed) return;
allowTouchMove();
});
}
Expand Down

0 comments on commit 610ff2c

Please sign in to comment.