-
-
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] Skeleton Loading Overlay Triggers Error with Master Detail Panel Containing Another DataGrid #14061
Comments
The "overlay" is not actually overlaying the data grid content. |
@4everTonyStark @michelengelen Correct that the skeleton loading overlay is not actually an overlay, the name is misleading but the main reasons are:
All that to say, it was a simpler implementation and a better UX to just render the skeleton loader as a statically positioned element and hide the content. Onto your actual issue, looks like we need prevent rendering master details whilst the skeleton loader is active, I'll look into it. |
@4everTonyStark: 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. |
Latest version
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-kpvefc?file=Demo.tsx
Steps:
Current behavior
When the Skeleton Loading Overlay renders over a DataGrid with an open detail panel, and the detail panel contains a DataGrid component, an error is logged from the DataGrid within the row detail panel that it has no intrinsic size.
Expected behavior
No errors should be logged. I would think either the overlay should be a true overlay on top of the existing content, or detail panels should be removed or hidden before the overlay is applied. I've tried switching the
getDetailPanelContent
prop toundefined
whenloading
is true, but that doesn't seem to fix the issue.Context
Allowing the DataGrid to show the Skeleton Loading Overlay while a master detail panel is opened and not log any errors.
Your environment
npx @mui/envinfo
I see this bug in Chrome. I have not tested Safari.
Search keywords: skeleton loading overlay, master detail
The text was updated successfully, but these errors were encountered: