diff --git a/src/app/components/confirmpopup/confirmpopup.ts b/src/app/components/confirmpopup/confirmpopup.ts index 0ac93b909cb..04d7e76183f 100755 --- a/src/app/components/confirmpopup/confirmpopup.ts +++ b/src/app/components/confirmpopup/confirmpopup.ts @@ -272,6 +272,9 @@ export class ConfirmPopup implements AfterContentInit, OnDestroy { ZIndexUtils.set('overlay', this.container, this.config.zIndex.overlay); } + if (!this.confirmation) { + return; + } DomHandler.absolutePosition(this.container, this.confirmation?.target); const containerOffset = DomHandler.getOffset(this.container);