mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
fix
This commit is contained in:
parent
d21de526ed
commit
bd31d5d0af
@ -1,5 +1,4 @@
|
||||
<template>
|
||||
<FocusTrap v-bind:active="isActive">
|
||||
<div ref="el" class="sfhdhdhr" tabindex="-1">
|
||||
<MkMenu
|
||||
ref="menu"
|
||||
@ -10,7 +9,6 @@
|
||||
@close="onChildClosed"
|
||||
/>
|
||||
</div>
|
||||
</FocusTrap>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
@ -25,8 +23,6 @@ import {
|
||||
} from "vue";
|
||||
import MkMenu from "./MkMenu.vue";
|
||||
import { MenuItem } from "@/types/menu";
|
||||
import { FocusTrap } from 'focus-trap-vue';
|
||||
import * as os from "@/os";
|
||||
|
||||
const props = defineProps<{
|
||||
items: MenuItem[];
|
||||
|
@ -115,6 +115,7 @@
|
||||
class="_button item parent"
|
||||
:class="{ childShowing: childShowingItem === item }"
|
||||
@mouseenter="showChildren(item, $event)"
|
||||
@click="showChildren(item, $event)"
|
||||
>
|
||||
<i
|
||||
v-if="item.icon"
|
||||
|
Loading…
Reference in New Issue
Block a user