Skip to content

Commit

Permalink
fix(layout->menu): can`t hover when menu is colappsed (#3499) resolve #…
Browse files Browse the repository at this point in the history
  • Loading branch information
xachary authored Jan 5, 2024
1 parent f0ca8d5 commit 7ffe172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SimpleMenu/src/components/SubMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
:class="`${prefixCls}-submenu-title-icon`"
/>
</div>
<template #content v-if="state.opened">
<!-- eslint-disable-next-line -->
<template #content v-show="state.opened">
<div v-bind="getEvents(true)">
<ul :class="[prefixCls, `${prefixCls}-${getTheme}`, `${prefixCls}-popup`]">
<slot></slot>
Expand Down

0 comments on commit 7ffe172

Please sign in to comment.