Open
Description
Documentation Feedback
Checking the implementation, I observe that the FocusMonitor emits inside NgZone:
components/src/cdk/a11y/focus-monitor/focus-monitor.ts
Lines 459 to 463 in 9494ff2
And confirmed checking NgZone.isInAngularZone()
in a subscription.
But documentations says:
Note: currently the FocusMonitor emits on the observable outside of the Angular zone. Therefore, if you markForCheck in the subscription you must put yourself back in the Angular zone.