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.preventDefault();
|
||||
},
|
||||
onDrag(event) {
|
||||
if (this.dragging) {
|
||||
this.setValue(event);
|
||||
event.preventDefault();
|
||||
}
|
||||
},
|
||||
onDragEnd(event) {
|
||||
|
|
Loading…
Reference in New Issue