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 867b2ab commit 560362dCopy full SHA for 560362d
packages/vuetify/src/components/VMenu/VMenu.tsx
@@ -78,7 +78,7 @@ export const VMenu = genericComponent<OverlaySlots>()({
78
setTimeout(() => {
79
if (!openChildren.value &&
80
!props.persistent &&
81
- (e == null || (e && !isClickInsideElement(e, overlay.value!.contentEl!)))
+ (e == null || (overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl)))
82
) {
83
isActive.value = false
84
parent?.closeParents()
0 commit comments