react-virtualized icon indicating copy to clipboard operation
react-virtualized copied to clipboard

React virtualized infinite loader fires loadMoreItems on mount (WINDOWS / Ubuntu)

Open pergunt opened this issue 4 years ago • 0 comments

I am using "react-window-infinite-loader" "react-virtualized-auto-sizer" "react-window" together and noticed that react infinite loader fires loadMoreItems away when a component mounts. Is there a way to fix it ?

I tried to open my app on MAC / UBUNTU / WINDOWS. The app works ok on MAC but on Ubuntu / Windows react-infinite-loader fires loadMoreItems on initial load which causes prevData.concat(newData) and users see duplicates. Who has faced this issue?

pergunt avatar Dec 16 '21 16:12 pergunt