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 6d96332 commit 51ce874Copy full SHA for 51ce874
src/cdk/a11y/focus-monitor/focus-monitor.ts
@@ -186,6 +186,7 @@ export class FocusMonitor implements OnDestroy {
186
*/
187
private _documentFocusAndBlurListener = (event: FocusEvent) => {
188
const target = event.target as HTMLElement|null;
189
+ // We need to walk up the ancestor chain in order to support `checkChildren`.
190
for (let el = target; el; el = el.parentElement) {
191
if (event.type === 'focus') {
192
this._onFocus(event as FocusEvent, el);
0 commit comments