mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
chore(): sync with main
This commit is contained in:
@ -441,13 +441,8 @@ export class Modal implements ComponentInterface, OverlayInterface {
|
||||
*/
|
||||
this.currentBreakpoint = this.initialBreakpoint;
|
||||
|
||||
const data = {
|
||||
...this.componentProps,
|
||||
modal: this.el,
|
||||
};
|
||||
|
||||
const { inline, delegate } = this.getDelegate(true);
|
||||
this.usersElement = await attachComponent(delegate, el, this.component, ['ion-page'], data, inline);
|
||||
this.usersElement = await attachComponent(delegate, el, this.component, ['ion-page'], this.componentProps, inline);
|
||||
hasLazyBuild(el) && (await deepReady(this.usersElement));
|
||||
|
||||
writeTask(() => this.el.classList.add('show-modal'));
|
||||
|
||||
Reference in New Issue
Block a user