Files
angular__angular/src/cdk
Kristiyan Kostadinov ccf7a4d024 fix(overlay): OverlayKeyboardDispatcher not removing global event listener (#10160)
Fixes the `OverlayKeyboardDispatcher` not removing the global event listener, even though the subscription gets removed correctly. The issue seems to come from the fact that rxjs attaches the event using `useCapture = true`, however it doesn't pass the `useCapture` parameter when unsubscribing, which leaves listener in place. These changes switch to using `addEventListener` and `removeEventListener` to manage the event.

Fixes #10143.
2018-03-06 10:34:42 -05:00
..