MRT_TablePaper zIndex is lower than Appbar in Fullscreen
sadik-malik opened this issue · 0 comments
sadik-malik commented
material-react-table version
2.12.1
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
The zIndex for MRT_TablePaper was adjusted from 9999 to 999 in commit 3b5cad3. However, this alteration causes the table to appear beneath the AppBar component in full screen mode.
Ideally, MRT_TablePaper should inherit its zIndex from the theme, specifically theme.zIndex.modal.
Minimal, Reproducible Example - (Optional, but Recommended)
https://stackblitz.com/edit/github-morytr?file=src%2FTS.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Yes, I think I know how to fix it and will discuss it in the comments of this issue
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.