Skip to content
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] detailPanel persisting when row scrolls out of view #13200

Closed
ryanbruns opened this issue May 21, 2024 · 2 comments
Closed

[data grid] detailPanel persisting when row scrolls out of view #13200

ryanbruns opened this issue May 21, 2024 · 2 comments
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

Comments

@ryanbruns
Copy link

ryanbruns commented May 21, 2024

Steps to reproduce

Link to live example: Stackblitz

Steps:

  1. Load a large data set into the grid
  2. Click to expand a row
  3. Scroll down the grid until the detail content area goes out of the viewport.
  4. The detail content area will flicker onto the grid intermittently
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

    @emotion/react: ^11.11.4 => 11.11.4 
    @emotion/styled: ^11.11.5 => 11.11.5 
    @mui/icons-material: ^5.15.15 => 5.15.15 
    @mui/material: ^5.15.15 => 5.15.15 
    @mui/system: ^5.15.15 => 5.15.15 
    @mui/x-charts: ^6.19.8 => 6.19.8 
    @mui/x-data-grid-pro: ^7.5.0 => 7.5.0 
    @mui/x-date-pickers: ^7.5.0 => 7.5.0 
    @mui/x-date-pickers-pro: ^7.5.0 => 7.5.0 
    @mui/x-license: ^7.0.0 => 7.2.0 

Search keywords: detailPanel

@ryanbruns ryanbruns added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 21, 2024
@michelengelen
Copy link
Member

Duplicate of #13073

@michelengelen michelengelen marked this as a duplicate of #13073 May 22, 2024
@michelengelen michelengelen closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
Copy link

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@ryanbruns: 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.

@github-actions github-actions bot added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 22, 2024
@michelengelen michelengelen added component: data grid This is the name of the generic UI component, not the React module! regression A bug, but worse feature: Master-detail Related to the data grid Master-detail feature labels May 22, 2024
@michelengelen michelengelen changed the title MuiDataGrid-detailPanel persisting when row scrolls out of view [data grid] detailPanel persisting when row scrolls out of view May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants