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

feat(cdk/focus-trap) Add ConfigurableFocusTrap classes #18201

Merged
merged 1 commit into from
Jan 24, 2020

Commits on Jan 23, 2020

  1. feat(cdk/focus-trap) Add ConfigurableFocusTrap classes

    ConfigurableFocusTrap is part of a new FocusTrap design that will trap more
    than just tab focus.
    
    This commit sets up the classes for the new design, and implements the primary
    strategy for preventing focus outside the trap (an event listener that
    refocuses the trap). Logic to trap screen reader focus and wrap tab
    without the hidden tab stops will be in future commits. Migration of
    cdkTrapFocus, MatDialog, etc. will also be in future commits.
    
    This commit does not enable ConfigurableFocusTrap anywhere.
    vanessanschmitt committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    d9dd65c View commit details
    Browse the repository at this point in the history