You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Focuses the first element when the zone stabilizes, instead of when the microtask queue is empty. This avoids issues where the element might be focused before Angular is done doing change detection.
* Only runs the `onStable` callback if the zone is unstable.
* Avoids an extra DOM lookup by combining a couple of selectors.
Fixesangular#4864.
* fix(focus-trap): focus initial element when zone stabilizes
* Focuses the first element when the zone stabilizes, instead of when the microtask queue is empty. This avoids issues where the element might be focused before Angular is done doing change detection.
* Only runs the `onStable` callback if the zone is unstable.
* Avoids an extra DOM lookup by combining a couple of selectors.
Fixes#4864.
* chore: switch to for loop
Bug, feature request, or proposal:
Bug
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
http://plnkr.co/edit/79nFR1?p=preview
What is the use-case or motivation for changing an existing behavior?
Focused md-input should look the same on all occasions
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
4.0.3 / beta6 / at least Firefox & Chrome
Is there anything else we should know?
Placeholder is floating as soon as you type. But there will be no animation. Behaviour looks and feels a bit "out of place".
The text was updated successfully, but these errors were encountered: