Open GuyShaanan opened 4 years ago
There is a potential fix for this here https://github.com/gregnb/mui-datatables/pull/1075.
I included a fix for this in https://github.com/gregnb/mui-datatables/pull/1088
I'm not completely sure what https://github.com/gregnb/mui-datatables/pull/1075 is fixing, but it won't completely fix the issue described here because it sets the cell background to white, which means the select cell won't have a hover color nor will it be colored correctly when the row is selected. This will lead to selected rows and rows you hover over looking strange (since the checkbox cell will remain white).
The problem is that somehow, the checkbox on the header gets a background-color prop (set to white if you have a light theme). But the body row checkboxes don't get that style, thus you see the overlap.
I added this patch via a style override and it worked.
MUIDataTableSelectCell: {
root: {
backgroundColor: "#FFF",
},
},
This style prop has to be enforced for body row checkboxes.
Since 2.10.0 (seems like) the row selection checkboxes are overlapping the text when you scroll horizontally.
Expected Behavior
Checkboxes shouldn't overlap the text when you scroll horizontally.
Current Behavior
Steps to Reproduce (for bugs)
(with version 2.9.0 and
responsive: 'scroll'
the feature works fine)Your Environment