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(dialog): prevent error when restoring focus on IE #2771

Merged
merged 1 commit into from
Feb 1, 2017

Commits on Jan 23, 2017

  1. fix(dialog): prevent error when restoring focus on IE

    * Adds an extra null check when restoring focus after a dialog is closed. This is necessary, because the `document.activeElement` can be null in IE.
    * Switches the focusing logic to use the `Renderer`.
    
    Fixes angular#2760.
    crisbeto committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5d7ee75 View commit details
    Browse the repository at this point in the history