-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
component: GridThe React component.The React component.type: regressionA bug, but worse, it used to behave as expected.A bug, but worse, it used to behave as expected.
Description
Steps to reproduce
https://stackblitz.com/edit/react-wqh4ke?file=Demo.tsx
import * as React from 'react';
import Paper from '@mui/material/Paper';
import Grid from '@mui/material/Grid2';
export default function BasicGrid() {
return (
<Grid container spacing={1}>
<Grid size={8} spacing={2}>
<Paper>size=8</Paper>
</Grid>
<Grid size={4}>
<Paper>size=4</Paper>
</Grid>
</Grid>
);
}Current behavior
No warnings
Expected behavior
https://stackblitz.com/edit/react-s8bppb?file=Demo.tsx
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: -
Metadata
Metadata
Assignees
Labels
component: GridThe React component.The React component.type: regressionA bug, but worse, it used to behave as expected.A bug, but worse, it used to behave as expected.