Jump to content
GreenSock

goellner

ScrollTrigger Trackpad issues

Recommended Posts

Hello,

 

I am currently trying to get this example to work with the trackpad. When you flick too much on the trackpad, then it scrolls multiple sections at a time. Is there any way to prevent this and only scroll one section at a time?

 

My forked example with lower duration: 

See the Pen abBEZbN by goellner (@goellner) on CodePen

Link to comment
Share on other sites

Hey goellner and welcome to the GreenSock forums.

 

ScrollTrigger is not built to support scroll-jacking like this, though you can get close. For more info see this thread:

 

Link to comment
Share on other sites

  • 1 year later...
On 2/24/2021 at 11:09 AM, goellner said:

Hello,

 

I am currently trying to get this example to work with the trackpad. When you flick too much on the trackpad, then it scrolls multiple sections at a time. Is there any way to prevent this and only scroll one section at a time?

 

My forked example with lower duration: 

I am having the same issue, where you able to find a solution for this?

Link to comment
Share on other sites

 

Hello @kevchcm

 

Please don't post duplicates of the same question in multiple threads - your question will be seen when you ask just once. Posting in multiple threads will only cause confusion amongst those helping.

 

You can try what was suggested by @GreenSock in this thread and see if that helps. I will link this in the other thread, too.

 

 

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