This commit is contained in:
Freeplay 2023-04-28 22:24:40 -04:00
parent d21de526ed
commit bd31d5d0af
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"