How to use useInfiniteScroll on a component with the scroll of "body"? #1581
onurusluca
started this conversation in
General
Replies: 1 comment
-
You can directly assign const el = ref(document); |
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
-
Hi!
I want to use the useInfiniteScroll but I don't know where to add the
ref="el"
. Because the scroll is for the body and not the component I want to add the scroll. Basically I want to add the useInfiniteScroll to the page and not to an element in a component.Beta Was this translation helpful? Give feedback.
All reactions