diff --git a/packages/vuetify/src/components/VOverlay/VOverlay.tsx b/packages/vuetify/src/components/VOverlay/VOverlay.tsx index 97e6460a56b..70cedce4870 100644 --- a/packages/vuetify/src/components/VOverlay/VOverlay.tsx +++ b/packages/vuetify/src/components/VOverlay/VOverlay.tsx @@ -156,7 +156,7 @@ export const VOverlay = genericComponent()({ } = useActivator(props, { isActive, isTop: localTop }) const potentialShadowDomRoot = computed(() => (activatorEl?.value as Element)?.getRootNode() as Element) const { teleportTarget } = useTeleport(computed(() => props.attach || props.contained || - potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false)) + potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value ?? true : false)) const { dimensionStyles } = useDimension(props) const isMounted = useHydration() const { scopeId } = useScopeId()