-
-
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
[data grid] Extra space on the bottom of grid when loading new records and scrolling back up #13441
Comments
Hey @swensel To help us diagnose the issue efficiently, could you provide a stripped-down reproduction test case using the latest version? A live example would be fantastic! ✨ For your convenience, our documentation offers templates and guides on creating targeted examples: Support - Bug reproduction Just a friendly reminder: clean, functional code with minimal dependencies is most helpful. Complex code can make it tougher to pinpoint the exact issue. Sometimes, simply going through the process of creating a minimal reproduction can even clarify the problem itself! Thanks for your understanding! 🙇🏼 |
The issue has been inactive for 7 days and has been automatically closed. |
Hi @michelengelen , here is a github repo that reproduces this issue: https://github.com/swensel/MUI-bug-demo-13441 In the end, it was not related to infinite loading. It was related to a custom row height:
Here's a video demonstrating the issue when row height is present: MUI.13441.-.extra.space.row.height.mp4Also, here's a video when row height is not present (no issue in this case): MUI.13441.-.extra.space.no.row.height.mp4 |
Hi @swensel |
@swensel: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
I had filed a separate issue #13301 recently. This bug is a different case.
The grid that's having an issue is using the infinite loading feature. My team has noticed that when upgrading from
@mui/x-data-grid-pro
v5.12.0 to v7.5.1, that there's a lot of extra white space on the bottom of the grid, after loading new records and then scrolling back up. We only notice this on v7.5.1, not on v5.12.0. I've attached a video of the issue we are having with v7.5.1.Video.1.compressed.mp4
This looks like a bug?
Current behavior
There's a lot of extra white space on the bottom of the grid, after loading new records and then scrolling back up.
Expected behavior
There shouldn't be extra white space on the bottom of the grid, after loading new records and then scrolling back up.
Context
We would like to use the infinite loading feature and have there not be extra space on the grid when scrolling back up.
Your environment
`npx @mui/envinfo`
Search keywords: extra space infinte loading
Order ID: 90881
The text was updated successfully, but these errors were encountered: