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
Describe the bug
I am using VirtuosoGrid component with endReached method and if an initial data set is less then the container the endReached is not fired (if I switch to Virtuoso component endReached is fired)
I have checked the similar issues: #919 #924
and as I see VirtuosoGrid and Virtuoso components behave differently towards endReached method if the initial data set is less then the container
Expected behavior
I expect both Virtuoso and VirtuosoGrid to work the same way and to fire the initial endReached if the data set is less then the container (at least one time)
The text was updated successfully, but these errors were encountered:
I ran into this issue too. I'm glad I checked the issues section; otherwise, I would still be struggling with it. For now, I worked around it using the Intersection Observer API.
i found that endReached doesn't trigger at all even if data is more than container. There is nothing in the docs that confirms endReached is part of VirtuosoGrid.
Describe the bug
I am using
VirtuosoGrid
component withendReached
method and if an initial data set is less then the container theendReached
is not fired (if I switch toVirtuoso
componentendReached
is fired)I have checked the similar issues:
#919
#924
and as I see
VirtuosoGrid
andVirtuoso
components behave differently towardsendReached
method if the initial data set is less then the containerReproduction
Virtuoso with endReached works as expected
VirtuosoGrid with endReached the initial fire doesn't work
Expected behavior
I expect both
Virtuoso
andVirtuosoGrid
to work the same way and to fire the initialendReached
if the data set is less then the container (at least one time)The text was updated successfully, but these errors were encountered: