diff --git a/frontend/src/component/photo/cards.vue b/frontend/src/component/photo/cards.vue index 3979d6e7c..6266c70ef 100644 --- a/frontend/src/component/photo/cards.vue +++ b/frontend/src/component/photo/cards.vue @@ -39,7 +39,7 @@ :transition="false" aspect-ratio="1" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/component/photo/mosaic.vue b/frontend/src/component/photo/mosaic.vue index 7d4db33f5..8bcb798fe 100644 --- a/frontend/src/component/photo/mosaic.vue +++ b/frontend/src/component/photo/mosaic.vue @@ -38,7 +38,7 @@ :transition="false" aspect-ratio="1" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/pages/albums.vue b/frontend/src/pages/albums.vue index 4c02ec993..8033edeb9 100644 --- a/frontend/src/pages/albums.vue +++ b/frontend/src/pages/albums.vue @@ -96,7 +96,7 @@ aspect-ratio="1" style="user-select: none" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/pages/labels.vue b/frontend/src/pages/labels.vue index 0fc0502d4..4fbfdaf70 100644 --- a/frontend/src/pages/labels.vue +++ b/frontend/src/pages/labels.vue @@ -74,7 +74,7 @@ aspect-ratio="1" style="user-select: none" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/pages/library/files.vue b/frontend/src/pages/library/files.vue index e6186126c..5db98290e 100644 --- a/frontend/src/pages/library/files.vue +++ b/frontend/src/pages/library/files.vue @@ -63,7 +63,7 @@ loading="lazy" aspect-ratio="1" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/pages/people/subjects.vue b/frontend/src/pages/people/subjects.vue index 3ccb3d2fd..d2948d61e 100644 --- a/frontend/src/pages/people/subjects.vue +++ b/frontend/src/pages/people/subjects.vue @@ -79,7 +79,7 @@ aspect-ratio="1" style="user-select: none" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/share/albums.vue b/frontend/src/share/albums.vue index 110695787..9fbddd1eb 100644 --- a/frontend/src/share/albums.vue +++ b/frontend/src/share/albums.vue @@ -50,7 +50,7 @@ aspect-ratio="1" style="user-select: none" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/share/photo/cards.vue b/frontend/src/share/photo/cards.vue index 253c7f706..0a2ee4b86 100644 --- a/frontend/src/share/photo/cards.vue +++ b/frontend/src/share/photo/cards.vue @@ -35,7 +35,7 @@ :transition="false" aspect-ratio="1" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)" diff --git a/frontend/src/share/photo/mosaic.vue b/frontend/src/share/photo/mosaic.vue index 81326f364..30ee321b1 100644 --- a/frontend/src/share/photo/mosaic.vue +++ b/frontend/src/share/photo/mosaic.vue @@ -34,7 +34,7 @@ :transition="false" aspect-ratio="1" class="accent lighten-2 clickable" - @touchstart="input.touchStart($event, index)" + @touchstart.passive="input.touchStart($event, index)" @touchend.prevent="onClick($event, index)" @mousedown="input.mouseDown($event, index)" @click.stop.prevent="onClick($event, index)"