diff --git a/src/views/Viewer.vue b/src/views/Viewer.vue index f0cd4b8d8..f2493ef5a 100644 --- a/src/views/Viewer.vue +++ b/src/views/Viewer.vue @@ -26,7 +26,7 @@ v-if="initiated || currentFile.modal" id="viewer" :class="{'icon-loading': !currentFile.loaded && !currentFile.failed}" - :clear-view-delay="isTesting ? -1 : 5000 /* prevent cypress timeouts */" + :clear-view-delay="(isTesting || isMobile) ? -1 : undefined /* prevent cypress timeouts and disable on mobile, otherwise use default of the modal */" :dark="true" :enable-slideshow="hasPrevious || hasNext" :enable-swipe="canSwipe"