cellStylesSticky zIndex doesn't work properly with Material UI Table with stickyHeader prop
See original GitHub issueThe current zIndex interferes with MaterialUI Table with stickyHeader prop.
const cellStylesSticky = {
position: 'sticky',
zIndex: 2,
};
Please, increase the zIndex to 3 to solve the issue.


Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to stop the buttons overflowing in material ui table row ...
Try this simple solution .SimpleTable-head-2 { //Code you already have z-index: 3; } .MuiButton-sizeSmall-31 { z-index: 1; }.
Read more >How to Create a Material-UI Table Sticky Column in Only ...
Material-UI Table does not have a prop for setting 'sticky column'. We will solve that with a quick, light-weight styling solution.
Read more >Table header defined as sticky header overlays option list o
The option list of the selects may not be overlaid by the sticky header of ... header is defined as non-sticky, the two...
Read more >Fixed table header and height in Material-UI@next (v1.0.0 ...
Have you tried adding position: 'sticky' to your header TableCell components? I'm not sure it will work with your version of material UI,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed on
v1.1.2
withz-index: 3
. Sorry for the late publish. In the next major version, I will remove hard coded inline style and use only CSS. Thanks for your help 😃Ok I get the issue ! I have release
1.1.0
yesterday with new css selector: https://github.com/GuillaumeJasmin/react-table-sticky/releases/tag/v1.1.0You can temporary try:
I will make a new release today with full CSS support and I think remove the inline zIndex