Rouven Posted February 24, 2022 Share Posted February 24, 2022 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 More sharing options...
Solution GreenSock Posted February 24, 2022 Solution Share Posted February 24, 2022 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? 1 Link to comment Share on other sites More sharing options...
Rouven Posted February 24, 2022 Author Share Posted February 24, 2022 Wow, thanks, yes it worked. I do work with version 5.9.1 . Perfect ending to a working day, that's a lot! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now