mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(angular): inline modals now add .ion-page class correctly (#24751)
resolves #24750
This commit is contained in:
@@ -89,7 +89,7 @@ export const CoreDelegate = () => {
|
||||
BaseComponent.appendChild(el);
|
||||
|
||||
await new Promise(resolve => componentOnReady(el, resolve));
|
||||
} else {
|
||||
} else if (BaseComponent.children.length > 0) {
|
||||
// If there is no component, then we need to create a new parent
|
||||
// element to apply the css classes to.
|
||||
const el = BaseComponent.ownerDocument && BaseComponent.ownerDocument.createElement('div');
|
||||
|
||||
Reference in New Issue
Block a user