Skip to content

Commit 330a3b7

Browse files
Skrayebcakmakoglu
authored andcommitted
fix: make @wheel and @touchstart event passive
1 parent 1b740b4 commit 330a3b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/components/Handle/Handle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default {
101101
},
102102
]"
103103
@mousedown="handlePointerDown"
104-
@touchstart="handlePointerDown"
104+
@touchstart.passive="handlePointerDown"
105105
@click="handleClick"
106106
>
107107
<slot :id="id" />

packages/core/src/container/Pane/Pane.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export default {
227227
:class="[{ selection: isSelecting }]"
228228
@click="onClick"
229229
@contextmenu="onContextMenu"
230-
@wheel="onWheel"
230+
@wheel.passive="onWheel"
231231
@mouseenter="onMouseEnter"
232232
@mousedown="onMouseDown"
233233
@mousemove="onMouseMove"

0 commit comments

Comments
 (0)