Jump to content
Search Community

Odd Flip behavior using master timeline

A H test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Hey everyone-

 

I am trying to have a set of items fade into a modal (of sorts).  It kind of worked at one point when I had multiple timelines and flips but I was hoping to use a master timeline and add the tweens to it.  Now it is leaving styles and sometimes the toggleClass in place at the end of the animation.  I'm using tl.reverse() on close instead of having to manage multiple timelines.  What am I missing that would make everything jump and leave the styles/classes?  I know clearProps exists but it doesn't seem right for this instance.  Any help is greatly appreciated.  Thank you.

See the Pen Exrwgyv by hazmat-ornery0v (@hazmat-ornery0v) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...