Skip to content

Commit

Permalink
update blockui
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Dec 13, 2024
1 parent ec219d0 commit 92f54b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/primeng/src/blockui/blockui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ export class BlockUI extends BaseComponent implements AfterViewInit, AfterConten
// this.animationEndListener = this.renderer.listen(this.mask.nativeElement, 'animationend', this.destroyModal.bind(this));
// TODO Add animation
this.destroyModal();
addClass(this.mask.nativeElement, 'p-overlay-mask-leave');
// addClass(this.mask.nativeElement, 'p-overlay-mask-leave');
}
}

destroyModal() {
this._blocked = false;
if (this.mask && isPlatformBrowser(this.platformId)) {
ZIndexUtils.clear(this.mask.nativeElement);
removeClass(this.mask.nativeElement, 'p-overlay-mask-leave');
// removeClass(this.mask.nativeElement, 'p-overlay-mask-leave');
this.renderer.removeChild(this.el.nativeElement, this.mask.nativeElement);
unblockBodyScroll();
}
Expand Down

0 comments on commit 92f54b9

Please sign in to comment.