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
Tuğçe Küçükoğlu 2024-11-11 09:49:59 +03:00 committed by GitHub
commit 2a9ac8b174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -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) {