Merge pull request #6537 from caryhgq/patch-1
fix: Slider: "Unable to preventDefault inside passive event listener invocation" in primevue_slider.js (touchmove)pull/6703/head
commit
2a9ac8b174
|
@ -180,12 +180,10 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
event.currentTarget.focus();
|
event.currentTarget.focus();
|
||||||
event.preventDefault();
|
|
||||||
},
|
},
|
||||||
onDrag(event) {
|
onDrag(event) {
|
||||||
if (this.dragging) {
|
if (this.dragging) {
|
||||||
this.setValue(event);
|
this.setValue(event);
|
||||||
event.preventDefault();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onDragEnd(event) {
|
onDragEnd(event) {
|
||||||
|
|
Loading…
Reference in New Issue