-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Sidenav slide animation not working with ui-router #3576
Comments
Does anyone else have issues with sidenav and ui-router? |
I am. I get the same behavior. I don't get any animation, and I am also not getting a backdrop. The "ng-enter" never gets removed from the backdrop (I assume because the animation is not firing), so the backdrop, although positioned correctly is transparent. UPDATE: Seems like all animations may be broken somehow? FAB Toolbar animation is broken too, but I have not investigated further. |
I also have this problem.
|
Hello, the same problem. Here's my bower.json {
"name": "web-client",
"version": "0.0.0",
"dependencies": {
"angular": "~1.4.4",
"angular-animate": "~1.4.4",
"angular-aria": "~1.4.4",
"angular-message-format": "~1.4.4",
"angular-messages": "~1.4.4",
"angular-resource": "~1.4.4",
"angular-route": "~1.4.4",
"angular-sanitize": "~1.4.4",
"angular-material": "~0.10.1",
"roboto-fontface": "~0.4.3",
"angular-translate": "~2.7.2",
"material-design-icons": "~2.0.0"
}
} |
+1
|
Found some time today, so I look into this problem. Not sure if this is a problem or not but whenever the sidenav is shown of remove, the library will add .md-sidenav-left.md-closed-add,
.md-sidenav-left.md-closed-remove {
transition: 0.2s ease-in all;
} Where Not sure if this helps. Cheers! |
Perhaps this issue is related to #4246? |
@endyjasmi Thanks, man. That's a suitable work around until this is patched. The latest Angular build breaks the animation, as pointed out in #4246 |
Glad that it helps. Cheers |
Still not fixed. Shows no animation nor backdrop.
Again, works fine without ui-router. |
@jesperzach - please do not comment on closed issue. Open a new issue or post to the Forum. |
I am having an issue getting the slideout effect with the sidenav component when using ui-router. If I disable the router, the nav slides out as expected but when the router is used, the backdrop fades in but the sidenav just appears.
Version using ui-router
http://plnkr.co/edit/CqtIyjFnn1nwH3FSi2Vj
Same example but without the router
http://plnkr.co/edit/0V60iLs5Auayb8Tt0HQu
Library versions:
The text was updated successfully, but these errors were encountered: