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

Rows' checkbox overlap header checkbox when enableRowSelection and enableStickyHeader is enabled #81

Closed
1 task done
tdanh2k opened this issue Sep 14, 2022 · 3 comments

Comments

@tdanh2k
Copy link

tdanh2k commented Sep 14, 2022

material-react-table version

v1.0.2

Describe the bug and the steps to reproduce it

  1. Create table with enableRowSelection and enableStickyHeader props.
  2. Set a height limit for the table (ex: muiTableContainerProps={{ sx: { maxHeight: "30vh" } }})
  3. Scroll the table, and the rows' checkbox starts to overlap the select all checkbox of the header.

Your Minimal, Reproducible Example - Sandbox (Recommended) or code snippets

https://codesandbox.io/s/material-react-table-sticky-header-with-row-selection-pe4zx2?file=/src/App.js:1039-1093

Screenshots or Videos (Optional)

No response

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

No, because I don't know how

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.
@KevinVandy
Copy link
Owner

This only popped up recently. My quick experiment with opacity and z-index didn't seem to fix it. Will have to look into it more in depth.

@KevinVandy
Copy link
Owner

I think this is fixed in v1.0.3

@KevinVandy
Copy link
Owner

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