Jump to content
GreenSock

lim3

Horizontal ScrollTrigger scrubbing not working

Moderator Tag
Go to solution Solved by akapowl,

Recommended Posts

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

  • Solution

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

 

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