Jump to content
Search Community

Issue using WP Oxygen with GSAP & scrollTrigger

Rouven test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Weirdly specific question about Oxygen and .gsap/scrollTrigger:
Does anyone else also had this problem. When I use gsap.to(... with scrollTrigger function, everything works fine. But if I use it with gsap.from(... it works in the oxygen builder, but not on the actual site. The event doesn't trigger. Did anyone have this issue and maybe knows a fix?
Link to comment
Share on other sites

  • Solution

There's a known regression in 3.9.1 (already fixed in the next release) that affects .from() and .fromTo() animations. You can work around it by explicitly setting lazy: false on those tweens (obviously you won't need to do that in future versions, but it won't really hurt anything either). Does that fix the issue you're running into? 

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