mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 19:00:35 +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"
|
:class="ui.trigger"
|
||||||
role="button"
|
role="button"
|
||||||
@mouseenter="onMouseEnter"
|
@mouseenter="onMouseEnter"
|
||||||
@touchstart.prevent="onTouchStart"
|
@touchstart.passive="onTouchStart"
|
||||||
>
|
>
|
||||||
<slot :open="open" :disabled="disabled">
|
<slot :open="open" :disabled="disabled">
|
||||||
<button :disabled="disabled">
|
<button :disabled="disabled">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
:class="ui.trigger"
|
:class="ui.trigger"
|
||||||
role="button"
|
role="button"
|
||||||
@mouseenter="onMouseEnter"
|
@mouseenter="onMouseEnter"
|
||||||
@touchstart.prevent="onTouchStart"
|
@touchstart.passive="onTouchStart"
|
||||||
>
|
>
|
||||||
<slot :open="open" :close="close">
|
<slot :open="open" :close="close">
|
||||||
<button :disabled="disabled">
|
<button :disabled="disabled">
|
||||||
|
|||||||
Reference in New Issue
Block a user