Skip to content

Commit

Permalink
fix(core): fixed legacy condition preventing touch move when zoom ena…
Browse files Browse the repository at this point in the history
…bled

fixes #7137
  • Loading branch information
nolimits4web committed Oct 26, 2023
1 parent 5bfbfc7 commit 2f64043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/events/onTouchMove.mjs
Expand Up @@ -124,7 +124,7 @@ export default function onTouchMove(event) {
data.startMoving = true;
}
}
if (data.isScrolling || (swiper.zoom && swiper.params.zoom && swiper.params.zoom.enabled)) {
if (data.isScrolling) {
data.isTouched = false;
return;
}
Expand Down

0 comments on commit 2f64043

Please sign in to comment.