fixes
This commit is contained in:
parent
3be2147397
commit
23beca49e3
|
@ -14,9 +14,11 @@
|
|||
:duration="transitionDuration"
|
||||
appear
|
||||
@after-leave="emit('closed')"
|
||||
@keyup.esc="emit('click')"
|
||||
@enter="emit('opening')"
|
||||
@after-enter="onOpened"
|
||||
>
|
||||
<focus-trap v-model:active="isActive">
|
||||
<div
|
||||
v-show="manualShowing != null ? manualShowing : showing"
|
||||
v-hotkey.global="keymap"
|
||||
|
@ -52,7 +54,6 @@
|
|||
@mousedown="onBgClick"
|
||||
@contextmenu.prevent.stop="() => {}"
|
||||
></div>
|
||||
<focus-trap v-model:active="isActive">
|
||||
<div
|
||||
ref="content"
|
||||
:class="[
|
||||
|
@ -64,8 +65,8 @@
|
|||
>
|
||||
<slot :max-height="maxHeight" :type="type"></slot>
|
||||
</div>
|
||||
</focus-trap>
|
||||
</div>
|
||||
</focus-trap>
|
||||
</Transition>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue