fix(popover): popover opens on chrome 109 (#26672)

resolves #26643
This commit is contained in:
Liam DeBeasi
2023-01-30 11:55:20 -05:00
committed by GitHub
parent 95a3c69bbb
commit 69d89eae94
6 changed files with 57 additions and 27 deletions

View File

@ -512,13 +512,15 @@ 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, this.el, this.component, ['ion-page'], data, inline);
this.usersElement = await attachComponent(
delegate,
this.el,
this.component,
['ion-page'],
this.componentProps,
inline
);
await deepReady(this.usersElement);