set to true to skip auto scrolling altogether
set to true to stop autoscrolling when the user manually scrolls
A React ref object that should be set on the scroll container, and another ref that should be the target to scroll into view.
Generated using TypeDoc
Implementation of autoscroll that watches a
target
and autoscrolls anything the target changes. Target can be a targetRef that you want to keep in view or it can be simply the length of an array that changes and causes a scroll to the bottom.