rosslavery / velocity-ui-angular

Velocity UI integration for AngularJS
87 stars 6 forks source link

Container height with ng-show #6

Open silentFred opened 9 years ago

silentFred commented 9 years ago

Hey dude!

Thank you for your contribution. I'm having tons of fun so far!

I'm a tad stuck with getting div's height to animate on ng-show. I'm using the velocity-transition-slideDownIn transition class. The content of the div animates like a charm, but i'd like to get the height of that containing div to also animate. I did some sniffing around and saw that on the UI pack, when using In or Out animations, the parent container's height is animated along with the content.

I can't get this to work for me. Am I missing something?

Cheers and thanks in advance!