mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5213 - Slider: [Violation] Non-passive event
This commit is contained in:
parent
7feec93679
commit
9a3c5fa75c
1 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue