Add content to container element by transition
I had this discussion in the forum..
I want any element (div, md-content, etc..) to have transition when a content is added, like mentioned in the spec the material needs to grow. (Also related)
Here's an example
I did this kind of expanded list item as seen in Inbox,
The only problem is that there's max-height transition because there's no way to do it otherwise..
I think it should be included somewhere..
Please if you know a better way edit this plunkr what do you think?
@EladBezalel I believe there was an issue about this before. The consensus was that a future version of ng-animate will make it a lot easier to have material design style animations and transitions.
I don't know if you can currently achieve them but I'd look into the above more because you will probably need to overhaul whatever it is you do end up doing.
@matsko - Any thoughts on this issue/feature?
Btw - I updated the example you can review here
@EladBezalel @ThomasBurleson it's tricky to do this stuff with how CSS and ngAnimate behave. There are plans to improve this with an additional module called ngAnimateLayout, but that's still being developed. For now I think the max-height method is your best bet.
is there a milestone for nganimatelayout or can we already have a beta release somewhere ? i need such an animation for mid march. . . if not ready, i will try to implement sthg . . . if its planned, i ll wait a bit. regards
Great issue. Waiting for it.
:+1:
waiting too :+1:
+1