Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
How to interrupt Chrome scrolling momentum

I am trying to achieve a scrolling animation effect that waits for the page to be a the position Y, then lock the window scroll position during the animation, and restart the natural window scrolling behaviour once the animation finished. This is quite a classical effect.

It works very well with Firefox. But on Google Chrome there is an issue with the scrolling momentum: if the user swipes fast on his trackpad, the page scrolls down fast and I can not interrupt the scrolling when the Y position was reached, unless the scroll momentum has stopped, making the whole ux quite ugly sometimes as it waits for the end of that momentum to go back to the Y position…

Is there any trick to interrupt/stop the window scrolling momentum with Javascript in Chrome?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!