Jump to content
Search Community

Laptop touchpad long swipe continue to scroll page after scrollTop: smoother.offset animation

kwastaras test
Moderator Tag

Recommended Posts

I did this transitions with gsap, but the problem is, that on a laptop trackpad (touchpad) or mobile swipe, if you do a "long swipe", scroll event can last up to 2-3 seconds, so page continue to scroll even after animation played. I've read that scroll event cannot be interrupted... Would be very grateful for some idea how to solve this... ( p.s i don't want to use library "fullpage js", because after this few slides a website needs to have normal smooth-scrolling behavior ) 

Quote

 

 

i found this similar thread and there seems to be no solution to this problem 🙁

See the Pen vYRqdwd by taras-grushowskij (@taras-grushowskij) 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...