Hello, this line kills the animation: https://github.com/anorudes/animated-scrollto/commit/0c2c5f19d3b2e83155c316c4b91e0314be0d7d4f (fixed version) I use the following way: ```js animatedScrollTo( document.body, commentDOM.getBoundingClientRect().top - 25, 300, ); ``` If I don't delete that line, the animation doesn't work
Hello, this line kills the animation:
anorudes@0c2c5f1 (fixed version)
I use the following way:
If I don't delete that line, the animation doesn't work