Jump to content
Search Community

ScrollTrigger jump to section debounce

ay13 test
Moderator Tag

Recommended Posts

In the examples section you have 2 codepen examples that have the jump to section demos. They work great if you scroll a tiny bit and have the duration at a higher number.

 

The attached codepen is a fork of the demo where I lowered the duration to 0.2.

 

If you use a trackpad or a magic mouse or any scroll with momentum it shoots through all panels in one shot.

 

Is there a demo where it has a debounce on the scroll or a scroll jack that each flick or scroll action will advance one panel at a time?

See the Pen mdORyjo by ay13 (@ay13) on CodePen

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