Share Posted March 8, 2022 Hey, I'm trying to create a parallax effect in a horizontal scroll section. It works sometimes until I refresh the page, and sometimes not at all. I don't understand why. Rerunning in codepen also makes it work. See the Pen NWwEWaz by lim3 (@lim3) on CodePen Link to comment Share on other sites More sharing options...
Solution Solution Share Posted March 8, 2022 Hello @lim3 There is a known regression in GSAP 3.9.1 with .from() tweens. It has already been resolved for future releases, but for now, try setting lazy: false on your .from() tween. See the Pen JjOqRmg by akapowl (@akapowl) on CodePen 1 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