diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 62791d70300..54d750cc488 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -4965,7 +4965,8 @@ export class ColumnFilter implements AfterContentInit { private window: Window; - constructor(@Inject(DOCUMENT) private document: Document, public el: ElementRef, public dt: Table, public renderer: Renderer2, public config: PrimeNGConfig, public overlayService: OverlayService) { + constructor(@Inject(DOCUMENT) private document: Document, public el: ElementRef, public dt: Table, public renderer: Renderer2, public config: PrimeNGConfig, public overlayService: OverlayService, + private cd: ChangeDetectorRef) { this.window = this.document.defaultView as Window; } @@ -5337,6 +5338,7 @@ export class ColumnFilter implements AfterContentInit { hide() { this.overlayVisible = false; + this.cd.markForCheck(); } onOverlayHide() {