TypeScript raises error when I use useScrollIntoView
hook
#615
Answered
by
rtivital
PhanDungTri
asked this question in
Q&A
-
Hello everyone, When I assign And here is how I use it. I just follow the documentation. I don't know if I'm doing something wrong or this is a issue of Mantine. Any idea? Thank you! Environment:
|
Beta Was this translation helpful? Give feedback.
Answered by
rtivital
Jan 3, 2022
Replies: 1 comment 1 reply
-
You can set hook type, see definition – https://mantine.dev/hooks/use-scroll-into-view/#definition useScrollIntoView<HTMLDivElement>(); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PhanDungTri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set hook type, see definition – https://mantine.dev/hooks/use-scroll-into-view/#definition