Closed luisxxor closed 2 years ago
Hi. Thanks for the report! The animate's type on docs is a typo. It should be number
rather than boolean
.
And when you are using in real, when the animate
you pass is 0
, it means not animate
, and when you give it a number greater than 0
, it will animate.
The second parameter of
scrollIntoView
method it is a boolean calledanimate
, but then the method callsscrollBy
withanimate
as the second parameter, but the second parameter ofscrollBy
is the speed and it is numeric