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

fix(material/stepper): don't allow focus inside a hidden element #21842

Merged
merged 1 commit into from
Feb 12, 2021

Commits on Feb 8, 2021

  1. fix(material/stepper): don't allow focus inside a hidden element

    The CSS `visibility` allows for a child element to become visible, even though its parent is
    hidden. This becomes a problem for an expanded stepper inside a collapsed sidenav,
    because it allows the user to tab into the stepper.
    
    These changes resolve the issue by transitioning to `visibility: ''` which allows it to be
    inherited.
    
    Fixes angular#21831.
    crisbeto committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    1450d51 View commit details
    Browse the repository at this point in the history