[DataGrid] Rows are not rendered when previous rows were scrolled down #1444
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
priority: important
This change can make a difference
When rows data changes, so the amount of new rows is smaller than previous, rows are not rendered. This seem to reproduce only if new amount of rows is less than 10.
Current Behavior 😯
Updated rows are not rendered (not added to DOM)
Expected Behavior 🤔
Updated rows are added to DOM and visible
Steps to Reproduce 🕹
Code sandbox:
https://codesandbox.io/s/not-rendered-items-rl2v0?file=/demo.tsx
Steps:
Context 🔦
We display search results in grid. When search criteria is updated and new data is fetched, rows are not visible in case the amount of items is less than 10.
Your Environment 🌎
`npx @material-ui/envinfo`
Order id 💳
23597
The text was updated successfully, but these errors were encountered: