Emit an event when the last rows are visible #358
Unanswered
dcworldwide
asked this question in
Q&A
Replies: 1 comment 4 replies
-
https://codesandbox.io/s/github/tanstack/virtual/tree/beta/examples/react/infinite-scroll?from-embed=&file=/src/main.tsx Here is the infinite loading example. This example loads more items when you reach the end of the list. Specifically look at lines 53-73 |
Beta Was this translation helpful? Give feedback.
4 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 need to fire an event when the end of the row list is reached.
I hacked together the following (works in beta .14)
Is there a better way?
I would have thought that this library would emit an event to do the above simply
Beta Was this translation helpful? Give feedback.
All reactions