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

Using columnGroupHeaderHeight property causes toolbar panels to be misaligned with table header #15874

Open
mike-paretos opened this issue Dec 13, 2024 · 1 comment
Labels
bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@mike-paretos
Copy link

mike-paretos commented Dec 13, 2024

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/sandbox/optimistic-sea-xgtjg9
  2. Try to open the toolbar menu like filters
  3. Observe that it is misaligned when columnGroupHeaderHeight is provided

Current behavior

The toolbar panels (filters, columns) are misaligned when tables with column grouping are using columnGroupHeaderHeight property.

Screenshot 2024-12-13 at 15 41 20

Expected behavior

The toolbar panels (filters, columns) are aligned with table header.

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 grouping, columnGroupHeaderHeight

Order ID: 82474

@mike-paretos mike-paretos added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 13, 2024
@github-actions github-actions bot added the support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/ label Dec 13, 2024
@mike-paretos
Copy link
Author

Seems like getTotalHeaderHeight does not reflect columnGroupHeaderHeight in calculations at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Projects
None yet
Development

No branches or pull requests

1 participant