Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dialog): delay focus until animation is done
Delays focusing the first tabbable element in a dialog until animation is done. This prevents issues where other components (e.g. autocomplete) may have a wrong position on load, because they measured dialog while it was animating. Note on lack of tests: This is kind of hard to test, because we don't have much control over how the animations runs. Fixes angular#3722.
- Loading branch information
1c01bdd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Would you mind taking a look at angular#3727?