Problem holding scroll bottom in react #530
Unanswered
hanseongbugi
asked this question in
Q&A
Replies: 1 comment
-
Hi If you check smooth-scrollbar-react source More info here We are writing simple wrapper for React |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a project using smooth-scrollbar-react.
The scrollbar I used is in the form of a react component.
I used the useRef hook to get a reference to the scroll bar.
However, the useRef hook failed to get a reference to the scroll bar.
So, is there any other way to get references or a good example of using the useRef hook?
version
"react": "18.2.0"
"smooth-scrollbar": "^8.8.3"
"smooth-scrollbar-react": "2.4.1"
here is my javascript code
Beta Was this translation helpful? Give feedback.
All reactions