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
Right now, getVirtualState is called in 4 places: getInitialState, componentWillReceiveProps, componentDidMount, and onScroll. If the window is resized, or the orientation changes on mobile, this causes the list to display too few or too many items, depending on the change.
A listener on the window for resize and orientation change events to call getVirtualState would fix this (I do this my own wrapper for VirtualList in my application). I can PR if you're interested!
The text was updated successfully, but these errors were encountered:
Right now,
getVirtualState
is called in 4 places:getInitialState
,componentWillReceiveProps
,componentDidMount
, andonScroll
. If the window is resized, or the orientation changes on mobile, this causes the list to display too few or too many items, depending on the change.A listener on the window for resize and orientation change events to call
getVirtualState
would fix this (I do this my own wrapper for VirtualList in my application). I can PR if you're interested!The text was updated successfully, but these errors were encountered: