Jump to content
Search Community

Gsap Flip Resize Problem

Fredo
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Posted

Hi all,

 

when I resize the window, the animation doesn't work anymore. 

I tried to get this animation work on resizing the window with updating the values on resize but nothing works. 

Is there someone who can tell me the secret?

See the Pen QWogWqq by FredNaujoks (@FredNaujoks) on CodePen.

  • Solution
Posted

This looks like an edge case related to using Flip in a very unconventional way, but I think you can resolve it by simply forcing the inline styles to get removed in the cleanup function: 

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

 

Is that the result you wanted? 

  • Like 1
Posted

Thanks thanks thanks!

that's what I was looking. Thanks for Your help :)

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...