-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGrid] Rows content disappear on display size change #1908
Comments
Please provide a minimal reproduction test case with the latest version. This would help a lot 👷 . |
@dtassone The link to codesandbox is not working. Please save this as a "saved reply" .
I have updated https://www.notion.so/GitHub-issues-PRs-c1d7072e0c2545b0beb43b115f6030f6 to help. Also, the video provided is self-explanatory. I'm moving forward with a direct answer. |
@Rupert-com The parent of the data grid needs to have an intrinsic height, see https://material-ui.com/components/data-grid/layout/. |
thanks! |
Youtube Video
DataGrid content disappears when "Material Grid" forces a Grid change.
Current Behavior 😯
Expected Behavior 🤔
Maybe I want to see it, too? 🤔
Steps to Reproduce 🕹
Your Environment 🌎
tsconfig
`npx @material-ui/envinfo`
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 14.17.0 - C:\Program Files (x86)\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.13 - C:\Program Files (x86)\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.19041.1023.0), Chromium (91.0.864.48)
npmPackages:
@emotion/react: ^11.4.0 => 11.4.0
@emotion/styled: ^11.3.0 => 11.3.0
@material-ui/core: ^4.11.2 => 4.11.4
@material-ui/data-grid: ^4.0.0-alpha.31 => 4.0.0-alpha.31
@material-ui/icons: ^4.11.2 => 4.11.2
@material-ui/lab: ^4.0.0-alpha.58 => 4.0.0-alpha.58
@material-ui/styles: 4.11.4
@material-ui/system: 4.11.3
@material-ui/types: 5.1.0
@material-ui/utils: 4.11.2
@types/react: ^17.0.8 => 17.0.8
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
typescript: ^4.3.2 => 4.3.2
The text was updated successfully, but these errors were encountered: