use-smooth-scroll icon indicating copy to clipboard operation
use-smooth-scroll copied to clipboard

custom easing support?

Open sbtly opened this issue 5 years ago • 1 comments

It would be nice to do custom easing like below.

scrollTo(0, {duration: 1000, easing: [0.43, 0.13, 0.23, 0.96])

sbtly avatar Jul 18 '20 08:07 sbtly

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

Andarist avatar Jul 18 '20 09:07 Andarist