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] Insufficient top padding in toolbarContainer Component When Displaying Filter Badge #15550

Closed
michGreg opened this issue Nov 22, 2024 · 3 comments · Fixed by #15556
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Filtering Related to the data grid Filtering feature

Comments

@michGreg
Copy link

michGreg commented Nov 22, 2024

Steps to reproduce

Steps:

  1. Open this link to live example: https://mui.com/x/react-data-grid/filtering/
  2. Set any filter

image

Current behavior

No response

Expected behavior

Display the entire badge component in the default setting

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: datagrid, toolbarContainer, toolbar, filter, badge

@michGreg michGreg added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 22, 2024
@github-actions github-actions bot added the component: data grid This is the name of the generic UI component, not the React module! label Nov 22, 2024
@michelengelen michelengelen changed the title Insufficient top padding in toolbarContainer Component When Displaying Filter Badge [data grid] Insufficient top padding in toolbarContainer Component When Displaying Filter Badge Nov 22, 2024
@michelengelen
Copy link
Member

@KenanYusuf aren't you currently working on a toolbar rebrush?

For a workaround you can use this:

slotProps={{ baseBadge: { overlap: 'circular' } }}

@michelengelen michelengelen added status: waiting for author Issue with insufficient information feature: Filtering Related to the data grid Filtering feature and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 22, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Needs refinement in MUI X Data Grid Nov 22, 2024
@KenanYusuf
Copy link
Member

Yes, this won't be a problem with the redesigned toolbar. I've created a PR #15556 which will allow you to override the props for the filter badge in the meantime.

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.

Note

@michGreg 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Filtering Related to the data grid Filtering feature
Projects
Status: 🆕 Needs refinement
Development

Successfully merging a pull request may close this issue.

3 participants