Skip to content

Commit

Permalink
fix: touchstart should not be passive
Browse files Browse the repository at this point in the history
  • Loading branch information
wiidede committed Oct 19, 2023
1 parent 050ae28 commit 5e92296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RangeThumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function onPointerDown(e: PointerEvent) {
:style="{ left: `${position}%` }"
@pointerdown="onPointerDown"
@mousedown.prevent="() => {}"
@touchstart.prevent.passive="() => {}"
@touchstart.prevent="() => {}"
>
<Transition name="fade">
<div v-if="!renderTopOnActive || active" class="m-range-transition-container">
Expand Down

0 comments on commit 5e92296

Please sign in to comment.