Jump to content
Search Community

ScrollTrigger with scrollerProxy scrub only issue

ozcancelik test
Moderator Tag

Recommended Posts



I use a smooth-scrollbar within a project. I can run it with ScrollTrigger with scrollerProxy(). No problem. But it only works with scrub:true. I just can't use it to trigger it. I also used it with locomotive-scroll. The scrub problem is not there. 

(In codepen if you change scrub:true it will work)


Is this a scrollProxy bug? Or where am I doing wrong?


Thank you.

See the Pen WNwJqRj by ozcancelik (@ozcancelik) on CodePen

Link to comment
Share on other sites

Thanks for help @mikel


I didn't think it would be that easy. I guess just in this case always need starting position.


Thank you again.


(Also can someone explain me why my pen doesn't show up even I entered in topic and not linking even i linked in content.)


6 minutes ago, mikel said:

Hey @ozcancelik,


Welcome to the GreenSock Forum.


Define a certain starting position of the ScrollTrigger.
The default for type: "toggle" ScrollTriggers: "top bottom"; for type: "progress": "top center".





Does it help?


Happy twening ...



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