Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/components/overlay/overlay.ts
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ import { CommonModule, DOCUMENT, isPlatformBrowser } from '@angular/common';
import {
AfterContentInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ContentChildren,
ElementRef,
@@ -65,7 +66,7 @@ const hideOverlayContentAnimation = animation([animate('{{hideTransitionParams}}
'p-overlay-right-start': modal && overlayResponsiveDirection === 'right-start',
'p-overlay-right-end': modal && overlayResponsiveDirection === 'right-end'
}"
(click)="onOverlayClick($event)"
(click)="onOverlayClick()"
>
<div
*ngIf="visible"
@@ -422,6 +423,7 @@ export class Overlay implements AfterContentInit, OnDestroy {
public renderer: Renderer2,
private config: PrimeNGConfig,
public overlayService: OverlayService,
public cd: ChangeDetectorRef,
private zone: NgZone
) {
this.window = this.document.defaultView;
@@ -524,6 +526,7 @@ export class Overlay implements AfterContentInit, OnDestroy {
DomHandler.appendOverlay(this.overlayEl, this.targetEl, this.appendTo);
ZIndexUtils.clear(container);
this.modalVisible = false;
this.cd.markForCheck();

break;
}

1 comment on commit d1cf02f

@vercel
Copy link

@vercel vercel bot commented on d1cf02f Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.