fix(popover): inline popover positioning with fit-content or auto width (#26230)

Resolves #24716
This commit is contained in:
Sean Perkins
2022-11-10 16:17:43 -05:00
committed by GitHub
parent 2080ddce26
commit 0a8a958cba
4 changed files with 42 additions and 2 deletions

View File

@ -108,7 +108,7 @@ export class IonPopover {
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
this.el = r.nativeElement;
this.el.addEventListener('willPresent', () => {
this.el.addEventListener('ionMount', () => {
this.isCmpOpen = true;
c.detectChanges();
});