diff --git a/packages/vuetify/src/components/VMenu/VMenu.tsx b/packages/vuetify/src/components/VMenu/VMenu.tsx index b21ae402711..44d636e8b62 100644 --- a/packages/vuetify/src/components/VMenu/VMenu.tsx +++ b/packages/vuetify/src/components/VMenu/VMenu.tsx @@ -78,7 +78,7 @@ export const VMenu = genericComponent()({ setTimeout(() => { if (!openChildren.value && !props.persistent && - (e == null || (e && !isClickInsideElement(e, overlay.value!.contentEl!))) + (e == null || (overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl))) ) { isActive.value = false parent?.closeParents()