Skip to content

Commit

Permalink
Merge pull request #8103 from Hapcy/fix-8102
Browse files Browse the repository at this point in the history
Fixed #8102 hide calendar overlay in onpush components
  • Loading branch information
yigitfindikli authored Sep 2, 2019
2 parents 6d339a7 + 370b074 commit e24b09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});
}
Expand Down

0 comments on commit e24b09a

Please sign in to comment.