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
I'm not sure if this is a feature but when using the React useVirtualizer hook we aren't seeing a callback to onChange upon the first item being added to the virtualizer. Once a single item is present and you add more you then start getting callbacks.
Same for when removing items from the virtualizer. When you get to the last item being removed then is no callback to onChange. You get callbacks upon removing up until this point.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys, Great library!
I'm not sure if this is a feature but when using the React
useVirtualizer
hook we aren't seeing a callback toonChange
upon the first item being added to the virtualizer. Once a single item is present and you add more you then start getting callbacks.Same for when removing items from the virtualizer. When you get to the last item being removed then is no callback to
onChange
. You get callbacks upon removing up until this point.Thanks!
Stephen
Beta Was this translation helpful? Give feedback.
All reactions