Jump to content
Search Community

Recommended Posts

Posted

Here it has a delay for starting the horizontal scroll snap. It should begin to or maintain the speed from start to end. It would be great if some one could help me to sort this.

 

Thank you in advance

See the Pen mdrrbyo by oldskool123 (@oldskool123) on CodePen.

  • Aswanth changed the title to Remove delay for starting horizontal scroll snap.
Posted

Hi @Aswanth welcome to the forum!

 

The ScrollTrigger plugin is to hook animation to the scrollbar of the visitor and with the snapping feature you can have it snap to certain sections, the issue with this is that there is always a delay, because the snap can only happen when the visitor has stopped scrolling, so it cant be instant with ScrollTrigger

 

That said have you seen the Observer plugin https://gsap.com/docs/v3/Plugins/Observer/ that sounds more in line with what you're looking for. Hope it helps and happy tweening! 

 

See the Pen XWzRraJ by GreenSock (@GreenSock) on CodePen.


 

And here an example that mixes normal scroll with the Observer plugin

 

See the Pen oNQPLqJ by GreenSock (@GreenSock) on CodePen.

Posted

Thank you for the fast response. I will try it and inform you.

Posted

Hi @mvaneijgen,

 

You are right I guess this is the one I am looking for. But I need horizontal movement. If possible can you give a simple example for that? It will be really helpful if you do so.

 

Thanks.

Posted

Check out my post how to step through an animation using the Observer plugin. It illustrates that it is just an animation. Hope it helps and happy tweening! 

 

 

  • Like 1

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