mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
feat(angular, react, vue): add support for autoMountComponent (#25552)
This commit is contained in:
@ -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
|
||||
)
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user