-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/list): indexOf usage incorreect for active focus reset (#…
…28531) The buggy logic was using a truthiness check for checking for presence in a list, but this check needed to compare against -1 instead. This corrects a mismanagement of tabIndex on the items in the selection list: if the list of items changed, the selection list could not be tab selected until the selection list was mouse-focused. (cherry picked from commit f1e82da)
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters