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
regression - sidenav first animation skipped #5673
Comments
|
I was having the same behavior and it fixed after updating to the new master a34787d. |
Fixes the first opening/closing animation not working in newer Angular versions. The issue is due to the fact that Angular no longer evaluates the `_enableTransitions` binding after we've set it in the microtask empty callback. These changes switch to setting the class directly, which also has the advantage of being a little more compact. Fixes angular#5673.
Fixes the first opening/closing animation not working in newer Angular versions. The issue is due to the fact that Angular no longer evaluates the `_enableTransitions` binding after we've set it in the microtask empty callback. These changes switch to setting the class directly, which also has the advantage of being a little more compact. Fixes #5673.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
the first sidnav animation is skipped when used inside a route
What is the expected behavior?
should animate
What are the steps to reproduce?
http://plnkr.co/edit/b8e2dBj4K4PrYHKBBxa5
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 4.2.6
material 2.0.0-beta.8
chrome 59
TypeScript 2.3.3
Is there anything else we should know?
not reproduced with angular 4.1
after the first sidenav close/open, animations work properly
The text was updated successfully, but these errors were encountered: