mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Merge pull request #6537 from caryhgq/patch-1
fix: Slider: "Unable to preventDefault inside passive event listener invocation" in primevue_slider.js (touchmove)
This commit is contained in:
commit
2a9ac8b174
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue