iOS: Set passive flag for touchstart event #2074

This commit is contained in:
Michael Mayer 2022-02-27 10:05:47 +01:00
parent d4a10c10b6
commit 9f3060f2a4
9 changed files with 9 additions and 9 deletions

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"

View file

@ -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)"