diff --git a/packages/vuetify/src/components/VOverlay/VOverlay.tsx b/packages/vuetify/src/components/VOverlay/VOverlay.tsx index 19b77ab14f2..94b51caff0e 100644 --- a/packages/vuetify/src/components/VOverlay/VOverlay.tsx +++ b/packages/vuetify/src/components/VOverlay/VOverlay.tsx @@ -197,7 +197,7 @@ export const VOverlay = genericComponent()({ } function closeConditional (e: Event) { - return isActive.value && globalTop.value && ( + return isActive.value && localTop.value && ( // If using scrim, only close if clicking on it rather than anything opened on top !props.scrim || e.target === scrimEl.value || (e instanceof MouseEvent && e.shadowTarget === scrimEl.value) )