feat(angular, react, vue): add support for autoMountComponent (#25552)

This commit is contained in:
Liam DeBeasi
2022-07-05 12:57:16 -04:00
committed by GitHub
parent 0eaacdaf75
commit 805dfa0566
28 changed files with 448 additions and 13 deletions

View File

@ -162,7 +162,7 @@ export const defineOverlayContainer = <Props extends object>(name: string, defin
return h(
name,
{ ...restOfProps, ref: elementRef },
(isOpen.value) ? slots : undefined
(isOpen.value || restOfProps.keepContentsMounted) ? slots : undefined
)
}
});