This commit is contained in:
Freeplay 2023-04-28 22:24:40 -04:00
parent c55b521e57
commit 70c8690623
2 changed files with 2 additions and 5 deletions

View file

@ -1,6 +1,5 @@
<template>
<FocusTrap v-bind:active="isActive">
<div ref="el" class="sfhdhdhr" tabindex="-1">
<div ref="el" class="sfhdhdhr" tabindex="-1">
<MkMenu
ref="menu"
:items="items"
@ -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[];

View file

@ -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"