Calendar overlay doesn't disappear in OnPush components. #8102
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/edit/github-zpt3km
Current behavior
Calendar overlay only disappears in ChangeDetectionStrategy.OnPush components, when another change detection runs because the markForCheck on calendar.ts:2077 is outside of zone and doesn't trigger change detection.
Expected behavior
Calendar should work like in ChangeDetectionStrategy.Default components.
Minimal reproduction of the problem with instructions
The provided stackblitz shows a calendar in a default and an onpush component side by side.
The text was updated successfully, but these errors were encountered: