Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

204
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda