fix(popover): popover positioning for controller and inline (#26274)

Resolves #24716
This commit is contained in:
Sean Perkins
2022-11-14 12:17:46 -05:00
committed by GitHub
parent 2c36049a7f
commit 31ab10de4e

View File

@ -465,7 +465,6 @@ export class Popover implements ComponentInterface, PopoverInterface {
this.configureDismissInteraction();
// TODO: FW-2773: Apply this to only the lazy build.
if (inline === true) {
/**
* ionMount only needs to be emitted if the popover is inline.
*/
@ -476,7 +475,6 @@ export class Popover implements ComponentInterface, PopoverInterface {
* calculate the popover dimensions for the animation.
*/
await waitOneFrame();
}
this.currentTransition = present(this, 'popoverEnter', iosEnterAnimation, mdEnterAnimation, {
event: event || this.event,