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

[DataGrid] Improve support of core v5 #1458

Merged
merged 2 commits into from
Apr 23, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Apr 22, 2021

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Apr 22, 2021
@@ -148,14 +148,14 @@ function SettingsPanel(props) {

return (
<FormGroup className="MuiFormGroup-options" row>
<FormControl>
<FormControl variant="standard">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems like it should be the default value.

Copy link
Member Author

@oliviertassinari oliviertassinari Apr 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Standard was the default value, we changed it to outlined. I could gave gone the opposite direction, make the input field outlined but it seems to ues more space, so I didn't. If we want to use outlined, we would likely need to set the size to small.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is better as it is/was.

I meant that standard as a name for me should be the default.
Here, the default is outlined, and the standard is not the default

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, standard is no longer the default in v5. As a matter of fact, standard is no longer inside the material design guidelines since 2018-2019.

@oliviertassinari oliviertassinari merged commit b7c8582 into mui:master Apr 23, 2021
@oliviertassinari oliviertassinari deleted the fix-v5-support branch April 23, 2021 14:31
@oliviertassinari
Copy link
Member Author

For the curious ones, I found the issue in https://next.material-ui.com/components/tables/#data-table

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: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants