-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGrid] Rows are not rendered when previous rows were scrolled down #1444
Comments
Hey @dtassone! Do you know the root cause of this issue or workaround? |
@kzviagina This is a regression from 4.0.0-alpha.24. It works in 4.0.0-alpha.23. More specifically it was broken in #1253. @dtassone I would encourage us to explore how we can remove the |
@kzviagina Bug fixed. We are planning to release today :) |
@dtassone @oliviertassinari thank you for the fix and clarification! :) |
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: