diff --git a/lib/web/mage/gallery/gallery.js b/lib/web/mage/gallery/gallery.js
index b3cc06fcc6a8f..c81f9a0444ea8 100644
--- a/lib/web/mage/gallery/gallery.js
+++ b/lib/web/mage/gallery/gallery.js
@@ -143,7 +143,7 @@ define([
                 }
             });
 
-            if (this.isTouchEnabled) {
+            if (this.isTouchEnabled && this.settings.isFullscreen) {
                 this.settings.$element.on('tap', '.fotorama__stage__frame', function () {
                     var translate = getTranslate($(this).parents('.fotorama__stage__shaft'));