bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data

Home Page:http://bvaughn.github.io/react-virtualized/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React virtualized not displaying all the items in list

sukhpreet96 opened this issue · comments

I am trying to display about 1000 items in the list using RV, but it's displaying 22 items only.

bump, @sukhpreet96 have you solved the issue?

solved this problem by add [style] prop to rowRenderer
const rowRenderer = ({ key, index, style, })=>( <div key={key} style={style}> {...your componet} </div> )