You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cdk/a11y): clear active item in key manager if it is removed from the list
The active item in the `ListKeyManager` gets updated on keyboard events, but if the list
changes between them, we may end up in a state where it's pointing to an item that's
not in the DOM anymore. This can cause something like `aria-activedescendant` to
point to an invalid element.
These changes add some logic that clear the active element if it's removed from the list
and there's nothing at its new index.
0 commit comments