From 370b0742d218206e6e738e9c6e68834ff151b60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=B3ger=20Tibor=20=28SmartX=29?= Date: Thu, 29 Aug 2019 17:00:24 +0200 Subject: [PATCH] Fixed #8102 hide calendar overlay in onpush components --- src/app/components/calendar/calendar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index 21ce2ce6a77..81f1715efc4 100644 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -2071,10 +2071,10 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor { if (this.isOutsideClicked(event) && this.overlayVisible) { this.zone.run(() => { this.hideOverlay(); + this.cd.markForCheck(); }); } - this.cd.markForCheck(); }); }); }