We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0030e5d commit ed6cdc8Copy full SHA for ed6cdc8
packages/vuetify/src/components/VMenu/VMenu.tsx
@@ -129,15 +129,15 @@ export const VMenu = genericComponent<OverlaySlots>()({
129
isActive.value &&
130
before !== after &&
131
overlay.value?.contentEl &&
132
- // We're the topmost menu
133
- overlay.value?.globalTop &&
134
// It isn't the document or the menu body
135
![document, overlay.value.contentEl].includes(after!) &&
136
// It isn't inside the menu body
137
!overlay.value.contentEl.contains(after)
138
) {
139
if (focusTrapSuppressed) {
140
- isActive.value = false
+ if (!props.openOnHover) {
+ isActive.value = false
+ }
141
} else {
142
const focusable = focusableChildren(overlay.value.contentEl)
143
focusable[0]?.focus()
0 commit comments