Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing indexOf usage bug when selection-list handles changes in items. #28531

Merged
merged 1 commit into from
Feb 8, 2024

Commits on Feb 6, 2024

  1. fix(material/list): indexOf usage incorreect for active focus reset

    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.
    dyoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    8e64e83 View commit details
    Browse the repository at this point in the history