0

I am trying to run two different animation types concurrently - a fadein for the data elements and have the background expand (height) at the same time. The issue is that the fade doesn't appear to be working at all. If I remove the height animation, then the fade will work. But I can't seem to be able to get both to run concurrently.

Here's the Plunker.

Thanks.

1 Answer 1

1

These ways of doing animations aren't compatible you need to choose to use one or the other when you're combining animations. The TweenMax code manipulates CSS and properties of elements to achieve animations with lots of control. The angular $animate service just adds and removes CSS classes and basically watches for transitions that are occurring in the process to allow you to control the entire animation using CSS. The problem is if TweenMax is also modifying the classes or directly changing the styles it's going to botch the css you setup for $animate.

http://docs.angularjs.org/api/ngAnimate/service/$animate

http://www.greensock.com/category/javascript/#

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.