We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d94fa commit 897695dCopy full SHA for 897695d
src/views/Viewer.vue
@@ -26,7 +26,7 @@
26
v-if="initiated || currentFile.modal"
27
id="viewer"
28
:class="{'icon-loading': !currentFile.loaded && !currentFile.failed}"
29
- :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 */"
30
:dark="true"
31
:enable-slideshow="hasPrevious || hasNext"
32
:enable-swipe="canSwipe"
0 commit comments