mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 14:08:06 +01:00
fix(Popover/Dropdown): use @touchstart.passive instead of @touchstart.prevent (#1520)
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user