fix(Popover/Dropdown): use @touchstart.passive instead of @touchstart.prevent (#1520)

This commit is contained in:
Daniel Öhling
2024-03-17 18:48:00 +01:00
committed by GitHub
parent 7658211537
commit a563d8fed4
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
:class="ui.trigger"
role="button"
@mouseenter="onMouseEnter"
@touchstart.prevent="onTouchStart"
@touchstart.passive="onTouchStart"
>
<slot :open="open" :disabled="disabled">
<button :disabled="disabled">

View File

@@ -8,7 +8,7 @@
:class="ui.trigger"
role="button"
@mouseenter="onMouseEnter"
@touchstart.prevent="onTouchStart"
@touchstart.passive="onTouchStart"
>
<slot :open="open" :close="close">
<button :disabled="disabled">