You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constscrollableNodeRef=React.useRef();// then in a useCallback or useEffectscrollableNodeRef.current.scrollTo(x,y);<SimpleBarscrollableNodeProps={{ref: scrollableNodeRef}}>
// your content
</SimpleBar>;
Hello!
Thanks for the great library.
How to combine SimpleBar and Scroll to Top
There is a Scroll to Top function that works only if SimpleBar is not connected.
What settings are needed to fix this?
The text was updated successfully, but these errors were encountered: