From 5e92296b8f96b2240e313d5de49086ac283a283c Mon Sep 17 00:00:00 2001 From: wiidede Date: Thu, 19 Oct 2023 16:29:08 +0800 Subject: [PATCH] fix: touchstart should not be passive --- src/RangeThumb.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RangeThumb.vue b/src/RangeThumb.vue index 20f646f..7697f51 100644 --- a/src/RangeThumb.vue +++ b/src/RangeThumb.vue @@ -103,7 +103,7 @@ function onPointerDown(e: PointerEvent) { :style="{ left: `${position}%` }" @pointerdown="onPointerDown" @mousedown.prevent="() => {}" - @touchstart.prevent.passive="() => {}" + @touchstart.prevent="() => {}" >