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?