[DataGrid] Flickering when creating with flex columns #3295
Labels
component: data grid
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Duplicates
Latest version
Current behavior 😯
When columns are set with "flex: 1" the table first renders with 100px columns and then reflow to fill the entire screen. This causes an ugly flicker effect.
Expected behavior 🤔
Table would render with the correct flex column widths.
Steps to reproduce 🕹
Steps:
I've created a code sandbox to illustrate: https://codesandbox.io/s/basictabs-material-demo-forked-ojm24?file=/demo.js:2058-2173
Just switch between tabs 1 and 2.
Context 🔦
Trying to present a better user experience.
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: