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

Pinned columns collapsing even with layoutMode: 'grid-no-grow' #1040

Open
1 task done
sukhee-n opened this issue Mar 14, 2024 · 0 comments
Open
1 task done

Pinned columns collapsing even with layoutMode: 'grid-no-grow' #1040

sukhee-n opened this issue Mar 14, 2024 · 0 comments

Comments

@sukhee-n
Copy link

material-react-table version

v2.12.1

react & react-dom versions

React v18.2, Mui v5.15.12

Describe the bug and the steps to reproduce it

https://www.material-react-table.com/docs/guides/column-pinning#apply-absolute-column-widths
Pinned columns don't keep fixed width when using layoutMode: 'grid-no-grow' as written on the guide.

Minimal, Reproducible Example - (Optional, but Recommended)

https://github.com/KevinVandy/material-react-table/blob/v2/apps/material-react-table-docs/examples/enable-column-pinning/sandbox/src/TS.tsx
The problem occurred on my current project.
I tried running this example and the problem was same.

Strangely, on the guide website, the behavior works as expected.

Screenshots or Videos (Optional)

No response

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

No, because I do not have time to dig into it

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

1 participant