Fixed #5213 - Slider: [Violation] Non-passive event

pull/5456/head
tugcekucukoglu 2024-03-19 11:23:10 +03:00
parent 7feec93679
commit 9a3c5fa75c
1 changed files with 6 additions and 6 deletions

View File

@ -5,8 +5,8 @@
v-if="!range"
:class="cx('handle')"
:style="[sx('handle'), handleStyle]"
@touchstart="onDragStart($event)"
@touchmove="onDrag($event)"
@touchstart.passive="onDragStart($event)"
@touchmove.passive="onDrag($event)"
@touchend="onDragEnd($event)"
@mousedown="onMouseDown($event)"
@keydown="onKeyDown($event)"
@ -24,8 +24,8 @@
v-if="range"
:class="cx('handle')"
:style="[sx('handle'), rangeStartHandleStyle]"
@touchstart="onDragStart($event, 0)"
@touchmove="onDrag($event)"
@touchstart.passive="onDragStart($event, 0)"
@touchmove.passive="onDrag($event)"
@touchend="onDragEnd($event)"
@mousedown="onMouseDown($event, 0)"
@keydown="onKeyDown($event, 0)"
@ -43,8 +43,8 @@
v-if="range"
:class="cx('handle')"
:style="[sx('handle'), rangeEndHandleStyle]"
@touchstart="onDragStart($event, 1)"
@touchmove="onDrag($event)"
@touchstart.passive="onDragStart($event, 1)"
@touchmove.passive="onDrag($event)"
@touchend="onDragEnd($event)"
@mousedown="onMouseDown($event, 1)"
@keydown="onKeyDown($event, 1)"