Jump to content
Search Community

GSAP animation paused: true not working

potatogandalf test
Moderator Tag

Recommended Posts

I don't have a lot of time right now to look through all 200 lines of JS, but I suspect this just has to do with the fact that .fromTo() tweens have immediateRender: true by default, meaning it'll immediately apply the "from" values unless you set immediateRender: false on those. 

// example
.fromTo(
    ".sidebar",
    { xPercent: 0, yPercent: -120 },
    { visibility: "visible", yPercent: 0, immediateRender: false },
    "<"
  );

Does that resolve things for you? 

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