[data grid] detailPanel persisting when row scrolls out of view #13200
Labels
component: data grid
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
feature: Master-detail
Related to the data grid Master-detail feature
regression
A bug, but worse
Steps to reproduce
Link to live example: Stackblitz
Steps:
Screen.Recording.2024-05-21.at.13.41.29.mov
Current behavior
While I am scrolling down the grid after opening a detail panel I'm getting the last opened detail panel to show up at the top of the grid. If I scroll up the grid the issue settles down it seems to be mostly scrolling down.
Expected behavior
When an open detailPanel scrolls out of view it shouldn't persist to the top of the grid.
Context
We have large data sets that we put into the grid and records can have more detail on them so once expanded if the user scrolls they shouldn't be getting that detailPanel to flicker around the top of the grid area.
Your environment
npx @mui/envinfo
Was using Chromium based browser and also replicated it in Safari on the stackblitz
Search keywords: detailPanel
The text was updated successfully, but these errors were encountered: