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
Currently I am using the the useInfiniteLoader function, have read the doc but I cannot see props to detect whether I can add the custom component(eg. a text component indicate users that it has reached the end / still loading for the new content...) when the user has scrolled to the end of the scrollable content.
Do I have to handle it by myself or is there any workaround? Thank you!
The text was updated successfully, but these errors were encountered:
tcf01
changed the title
For the infinite scrolling feature, can add components when it reaches to the last item?
For the infinite scrolling feature, can add custom component when it reaches to the last item?
Aug 30, 2024
@jaredLunde Do you think is there any way to detect exactly when the user is scrolled to the bottom? I hv tried the normal way but still it is not that accurate. This is the hook function I hv atm
@jaredLunde The link is broken but I found sth related. I just wonder the intersection observer needs to set a last element ref to it but how to judge it in a masonry layout?
And also if I hv implemented the intersection observer, do I still need to use the onRender function from masonic(I guess it's no?)
Currently I am using the the
useInfiniteLoader
function, have read the doc but I cannot see props to detect whether I can add the custom component(eg. a text component indicate users that it has reached the end / still loading for the new content...) when the user has scrolled to the end of the scrollable content.Do I have to handle it by myself or is there any workaround? Thank you!
The text was updated successfully, but these errors were encountered: