bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.1k stars 3.05k forks source link

React virtualization not working for me #1797

Open sukhpreet96 opened 1 year ago

sukhpreet96 commented 1 year ago

I'm trying to use react-virtualization for optimizing the large list performance but it's not working in my project as i can see all the items in my DOM and they don't seem to load dynamically. Also it does not render all the items in the list but it's rendering only 40 items out of 100.

Screenshot 2023-01-10 at 10 41 36 PM

Here is my code

Screenshot 2023-01-10 at 10 45 25 PM

Not sure what i'm missing here, i would really appreciate help here

tourshi commented 1 year ago

I'm facing the exact same problem (rendering only first 40 elements and not responding to my scrolling beyond that). Oddly enough, my setup was working and I'm not quite sure what broke it but suddenly stopped working (despite any code changes or changes to the react-virtualized package.

Alexanderbtw commented 3 months ago

Я столкнулся с точно такой же проблемой (рендеринг только первых 40 элементов и отсутствие реакции на прокрутку после этого). Как ни странно, моя установка работала, и я не совсем уверен, что ее сломало, но внезапно перестала работать (несмотря на любые изменения кода или изменения в пакете с виртуализацией react).

You are solve this problem?