[data grid] Use ResizeObserver
to detect resize
#7297
Labels
component: data grid
This is the name of the generic UI component, not the React module!
Duplicates
Latest version
Summary 💡
According to https://mui.com/material-ui/getting-started/supported-platforms/#browser,
ResizeObserver
can already be used instead of the hack with<div className="Mui-resizeTriggers" />
.mui-x/packages/grid/x-data-grid/src/lib/createDetectElementResize/index.js
Lines 12 to 13 in fe389c3
Examples 🌈
No response
Motivation 🔦
It will help with support for Shadow DOM, see #7286
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: