Animations not working with 1.4.x releases, ok with 1.3 #12267
Description
I'm building a single page application with angular material and for some reason the animations are not functioning.
It looks like it is not just angular material as I can't get the basic example on the https://docs.angularjs.org/guide/animations page to work.
It appears that the classes that angular material relies on to be added for the css animations to hook on to are not being applied. Inspecting the elements in chrome I just see the hide and show classes but none of the transition classes.
Relevant parts of my bower file:
"angular": "~1.4.1",
"angular-animate": "~1.4.1",
"angular-sanitize": "~1.4.1",
"angular-messages": "~1.4.1",
"angular-i18n": "~1.4.1",
"angular-ui-router": "~0.2.15",
"angular-material": "~0.10.0",
My site (in development) is at http://www.zakhenry.com and the animation test page is at http://www.zakhenry.com/#/blog
When the viewport is small (ie mobile width) I should be able to see the sidepane animate out like on the https://material.angularjs.org/latest/ site; instead it just appears and disappears.
Source code is at https://github.com/xiphiaz/zakhenry.com
update
I can actually access the nganimate api eg if I run $animate.leave();
in a controller I get an error thrown from angular-animate, indicating the module is loaded successfully. Also adding breakpoints in the ng animate vendor works.
If I call console.log($animate.enabled())
in the run()
phase I get false
in the console. I tried setting it to true with $animate.enabled(true)
, to no effect.