reactScrollbar icon indicating copy to clipboard operation
reactScrollbar copied to clipboard

animate scrollYTo()?

Open ghost opened this issue 9 years ago • 1 comments

when i use this method, the scrollbar "jumps" to its new position and DOES NOT scroll it. is it possible to do so?

ghost avatar Aug 21 '16 13:08 ghost

Hi @SkateFreak :) You just have to set smoothScrolling prop to true.

<ScrollArea smoothScrolling>
  content
</ScrollArea>

Does it answer your question?

souhe avatar Sep 29 '16 11:09 souhe