AutoScroller
A component that automatically scrolls itself to the bottom as its content grows.
Basic example
Component API
Prop | Type | Description |
---|---|---|
autoScroll | boolean | Whether or not to enable automatic scrolling. Default: |
scrollBehavior | ScrollBehavior | The behaviour to use for scrolling. Default: |
scrollTrigger | unknown | The element scrolls when this prop changes, unless scroll lock is enabled. |
discreteScrollTrigger | number | The element scrolls when this prop changes, overriding
scroll lock. Default: |