From 9d18d3c68d13cd2a09978305a0a46cedc58cb29f Mon Sep 17 00:00:00 2001 From: Diego Franchina Date: Sun, 24 Sep 2023 13:06:33 +0200 Subject: [PATCH] fix dismissableMask on confirmPopup component --- src/app/components/confirmpopup/confirmpopup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/confirmpopup/confirmpopup.ts b/src/app/components/confirmpopup/confirmpopup.ts index a3be8543134..0ac93b909cb 100755 --- a/src/app/components/confirmpopup/confirmpopup.ts +++ b/src/app/components/confirmpopup/confirmpopup.ts @@ -340,7 +340,7 @@ export class ConfirmPopup implements AfterContentInit, OnDestroy { const documentTarget: any = this.el ? this.el.nativeElement.ownerDocument : this.document; this.documentClickListener = this.renderer.listen(documentTarget, documentEvent, (event) => { - if (this.confirmation) { + if (this.confirmation && this.confirmation.dismissableMask !== false) { let targetElement = this.confirmation.target; if (this.container !== event.target && !this.container?.contains(event.target) && targetElement !== event.target && !targetElement.contains(event.target)) { this.hide();