File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8-
98import { Platform , supportsPassiveEventListeners } from '@angular/cdk/platform' ;
109import {
1110 Directive ,
@@ -202,7 +201,7 @@ export class FocusMonitor implements OnDestroy {
202201
203202 // Note: we listen to events in the capture phase so we can detect them even if the user stops
204203 // propagation.
205- this . _ngZone . runOutsideAngular ( ( ) => {
204+ Zone . root . run ( ( ) => {
206205 document . addEventListener ( 'keydown' , documentKeydownListener , true ) ;
207206 document . addEventListener ( 'mousedown' , documentMousedownListener , true ) ;
208207 document . addEventListener ( 'touchstart' , documentTouchstartListener ,
You can’t perform that action at this time.
0 commit comments