Skip to content

Commit d9b224e

Browse files
ENGCOM-6158: Fix fullscreen gallery image swiping for touch devices #25233
- Merge Pull Request #25233 from krzksz/magento2:gallery-swipe-fix - Merged commits: 1. 6e4fe74
2 parents c7f071f + 6e4fe74 commit d9b224e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/web/magnifier/magnify.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,8 +680,6 @@ define([
680680
$image.removeClass(imageDraggableClass);
681681
}
682682
} else if (gallery.fullScreen && (!transitionEnabled || !transitionActive)) {
683-
e.preventDefault();
684-
685683
imagePosY = getTop($image);
686684
imagePosX = $image.offset().left;
687685

0 commit comments

Comments
 (0)