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

[DataGrid] Redundant filler appears after changing columns total width #12431

Closed
cherniavskii opened this issue Mar 12, 2024 · 2 comments · Fixed by #12440
Closed

[DataGrid] Redundant filler appears after changing columns total width #12431

cherniavskii opened this issue Mar 12, 2024 · 2 comments · Fixed by #12440
Assignees
Labels
component: data grid This is the name of the generic UI component, not the React module! regression A bug, but worse v7.x

Comments

@cherniavskii
Copy link
Member

cherniavskii commented Mar 12, 2024

Steps to reproduce

Link to live example: https://stackblitz.com/edit/react-7hjjpu?file=Demo.tsx

Screen.Recording.2024-03-12.at.18.18.25.mov

Same could happen on the grid resize (try resizing preview panel in the Stackblitz demo above)

Current behavior

The filler appears even when there's no space left to fill.

Expected behavior

The filler should not appear if there's a vertical scroll (there's no space left to fill)

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: column resizing filler after last row

Copy link

⚠️ This issue has been closed.
If you have a similar problem, please open a new issue and provide details about your specific problem.
If you can provide additional information related to this topic that could help future readers, please feel free to leave a comment.

@mdimad7
Copy link

mdimad7 commented Sep 16, 2024

I'm still getting this bug where an empty filler is displayed even when there is no horizontal overflow of content in data grid @cherniavskii any idea how this can be fixed?

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! regression A bug, but worse v7.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants