Skip to content

Commit 920e205

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-88973' into 2.3-PR-develop-1
2 parents 1d1d5ec + 1f609fc commit 920e205

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,14 @@ fotoramaVersion = '4.6.4';
12181218
}
12191219

12201220
function stubEvent($el, eventType) {
1221+
var isIOS = /ip(ad|hone|od)/i.test(window.navigator.userAgent);
1222+
1223+
if (isIOS && eventType === 'touchend') {
1224+
$el.on('touchend', function(e){
1225+
$DOCUMENT.trigger('mouseup', e);
1226+
})
1227+
}
1228+
12211229
$el.on(eventType, function (e) {
12221230
stopEvent(e, true);
12231231

0 commit comments

Comments
 (0)