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

Column resizing with header groups no longer works #402

Closed
1 task done
romefar opened this issue Mar 1, 2023 · 1 comment
Closed
1 task done

Column resizing with header groups no longer works #402

romefar opened this issue Mar 1, 2023 · 1 comment

Comments

@romefar
Copy link

romefar commented Mar 1, 2023

material-react-table version

1.8.3

react & react-dom versions

18.2.0

Describe the bug and the steps to reproduce it

Resizing doesn't work if you have header groups.
Open the first sandbox and try to resize any column/group of columns.

I was able to find out that the resizing with header groups is not working in version 1.7.4 and above.

Minimal, Reproducible Example - (Optional, but Recommended)

Sandbox with the latest version (1.8.3) - https://codesandbox.io/s/resize-doesnt-work-with-groups-eq7k2i?file=/src/TS.tsx
Sandbox with version 1.7.3 - https://codesandbox.io/s/resize-doesnt-work-with-groups-old-version-smbq2p?file=/src/TS.tsx

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@romefar
Copy link
Author

romefar commented Mar 1, 2023

The issue might be related to CSS variables, since it cannot find the right one for the header (see the image below).
The was a change to CSS variables naming in version 1.7.4: 1.7.4 changes for CSS naming

missing_css-var

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants