Jump to content
Search Community

FLIP onLeave Animation with display: none;

angelokeirsebilck test
Moderator Tag

Recommended Posts

Hey,

 

Yeah the issue is that, when you do a fade flip that includes display: none, is better to add the absolute and fade configurations to the Flip.from() method. If you check Flip's documentation you can find that under Special Properties.

 

This sample from the GreenSock collection seems to be doing something similar to what you're after:

See the Pen XWKLYWe?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Finally this seems to be working on the codepen sample you provided (thanks by the way for the simple example!! 👍 )

See the Pen qBYByrb?editors=0010 by rhernando (@rhernando) on CodePen

 

Happy Tweening!!!

  • Like 1
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...