Skip to content

Commit fdc93fa

Browse files
MBilalShafithomasmoon
authored andcommitted
[DataGrid] Clean up IE ramnants from the codebase (mui#13390)
1 parent a3bb90f commit fdc93fa

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

packages/x-data-grid/src/components/GridRow.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,6 @@ const GridRow = React.forwardRef<HTMLDivElement, GridRowProps>(function GridRow(
177177

178178
const classes = useUtilityClasses(ownerState);
179179

180-
React.useLayoutEffect(() => {
181-
if (rowHeight === 'auto' && ref.current && typeof ResizeObserver === 'undefined') {
182-
// Fallback for IE
183-
apiRef.current.unstable_storeRowHeightMeasurement(rowId, ref.current.clientHeight);
184-
}
185-
}, [apiRef, rowHeight, rowId]);
186-
187180
React.useLayoutEffect(() => {
188181
if (currentPage.range) {
189182
// The index prop is relative to the rows from all pages. As example, the index prop of the

packages/x-data-grid/src/components/toolbar/GridToolbarQuickFilter.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ const GridToolbarQuickFilterRoot = styled(TextField, {
3939
'& .MuiInput-underline:before': {
4040
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
4141
},
42-
[`& input[type=search]::-ms-clear,
43-
& input[type=search]::-ms-reveal`]: {
44-
/* clears the 'X' icon from IE */
45-
display: 'none',
46-
width: 0,
47-
height: 0,
48-
},
4942
[`& input[type="search"]::-webkit-search-decoration,
5043
& input[type="search"]::-webkit-search-cancel-button,
5144
& input[type="search"]::-webkit-search-results-button,

0 commit comments

Comments
 (0)