fix: make @wheel and @touchstart event passive

This commit is contained in:
Yann C
2023-03-29 11:26:49 +02:00
committed by Braks
parent 1b740b435b
commit 330a3b7a4f
2 changed files with 2 additions and 2 deletions
@@ -101,7 +101,7 @@ export default {
},
]"
@mousedown="handlePointerDown"
@touchstart="handlePointerDown"
@touchstart.passive="handlePointerDown"
@click="handleClick"
>
<slot :id="id" />
+1 -1
View File
@@ -227,7 +227,7 @@ export default {
:class="[{ selection: isSelecting }]"
@click="onClick"
@contextmenu="onContextMenu"
@wheel="onWheel"
@wheel.passive="onWheel"
@mouseenter="onMouseEnter"
@mousedown="onMouseDown"
@mousemove="onMouseMove"