Fixed #5213 - Slider: [Violation] Non-passive event
parent
7feec93679
commit
9a3c5fa75c
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue