use-smooth-scroll
use-smooth-scroll copied to clipboard
custom easing support?
It would be nice to do custom easing like below.
scrollTo(0, {duration: 1000, easing: [0.43, 0.13, 0.23, 0.96])
You can write a function that would be able to interpret this. I dont see much value in supporting a syntax like this if it can be implemented in the userland just fine