We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8033ac9 commit dc448e3Copy full SHA for dc448e3
src/cdk/a11y/focus-monitor/focus-monitor.ts
@@ -139,6 +139,7 @@ export class FocusMonitor implements OnDestroy {
139
*/
140
private _documentFocusAndBlurListener = (event: FocusEvent) => {
141
const target = event.target as HTMLElement|null;
142
+ // We need to walk up the ancestor chain in order to support `checkChildren`.
143
for (let el = target; el; el = el.parentElement) {
144
if (event.type === 'focus') {
145
this._onFocus(event as FocusEvent, el);
0 commit comments