How to Implement Inertial / Momentum Scrolling in react?

385 Views Asked by At

I am trying to implement inertial / momentum scrolling in my react app. The intended behaviour is that when the "up or down arrow key" is pressed, it begins scrolling, the scrolling velocity would keep increasing as the key remains pressed, and when the key is released, the scroll velocity should dissipate gradually, which package can i use to achieve this?

0

There are 0 best solutions below