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