I faced with a problem with usage of Grid component from MUI V5. The problem that if write code in sandbox - it's works. I find out that i have to give sx={{'& .MuiGrid-root': { flexGrow: '1' } to my Grid container. But still my items property of xs doesn't works. Any idea what i missed?
<Paper sx={{ padding: 5, height: '100%' }} >
<Grid container spacing={4} sx={{border:'1px solid red','& .MuiGrid-root':{flexGrow: '1'},}}>
<Grid item item xs={12} sm={12} md={12} lg={6} xl={4} sx={{border:'1px solid blue',}}> grid 1</Grid>
<Grid item xs={2} sx={{border:'1px solid blue',}}> grid 2</Grid>
<Grid item xs={6} sx={{border:'1px solid blue',}}> grid 3</Grid>
</Grid>
</Paper>
And the result just disappointment me result
Version if MUI : "@mui/material": "^5.8.2",