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(datepicker): focus on multiple instances (#3494) #3549

Commits on Jan 28, 2020

  1. fix(datepicker): refine focus state checks

    This adds additional condition to restrict focus in/out to instance of
    the datepicker by verifyng if focus event target and related targets are
    descendants of the datepicker element. This removes false results based
    only on the class name checks, which fail when focus is switched between
    datepicker instances.
    
    Closes ng-bootstrap#3494
    peterblazejewicz authored and gpolychronis-amadeus committed Jan 28, 2020
    Copy the full SHA
    629df9b View commit details
    Browse the repository at this point in the history