Skip to content
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

[Grid] Compatible props are no longer warned about in v2 #43758

Open
oliviertassinari opened this issue Sep 14, 2024 · 1 comment · May be fixed by #43801
Open

[Grid] Compatible props are no longer warned about in v2 #43758

oliviertassinari opened this issue Sep 14, 2024 · 1 comment · May be fixed by #43801
Assignees
Labels
bug 🐛 Something doesn't work component: Grid The React component. regression A bug, but worse status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Sep 14, 2024

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

SCR-20240915-bkol

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: -

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: Grid The React component. status: waiting for maintainer These issues haven't been looked at yet by a maintainer regression A bug, but worse labels Sep 14, 2024
@oliviertassinari oliviertassinari changed the title [Grid] compatible props are no longer warned about in v2 [Grid] Compatible props are no longer warned about in v2 Sep 14, 2024
@Shbiro

This comment was marked as off-topic.

@k-rajat19 k-rajat19 linked a pull request Sep 17, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: Grid The React component. regression A bug, but worse status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants