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

fix(mui): broken <DataGrid /> sizing in <ThemedLayoutV2 /> #6144

Merged

Conversation

aliemir
Copy link
Member

@aliemir aliemir commented Jul 16, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

Changes

Due to the changes in CSS rendering in latest Google Chrome updates, <DataGrid /> components are not properly sized when used inside <ThemedLayoutV2 /> component. The overflow: clip property in the layout content is causing either miscalculations on the data grid width or causing an overflow on the container and overlapping with the sidebar.

This change replaces the overflow: clip property with min-height and min-width properties to ensure the layout content is properly rendered and responsive to the content inside it.

Resolves #6077

Preview for finefoods-material-ui example: https://deploy-preview-6144--finefoods-admin-mui.netlify.app

@aliemir aliemir requested a review from a team as a code owner July 16, 2024 07:08
Copy link

changeset-bot bot commented Jul 16, 2024

🦋 Changeset detected

Latest commit: 60193b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/mui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aliemir
Copy link
Member Author

aliemir commented Jul 16, 2024

/deploy finefoods-material-ui

@aliemir aliemir added this to the August Release milestone Jul 16, 2024
Copy link

cypress bot commented Jul 16, 2024

Passing run #11294 ↗︎

0 124 6 0 Flakiness 0

Details:

Merge 60193b8 into 52b50f1...
Project: refine Commit: a399fb55b7 ℹ️
Status: Passed Duration: 13:49 💡
Started: Jul 16, 2024 8:04 AM Ended: Jul 16, 2024 8:18 AM

Review all test suite changes for PR #6144 ↗︎

@github-actions github-actions bot temporarily deployed to deploy-preview-finefoods-material-ui-6144/merge July 16, 2024 07:47 Inactive
@BatuhanW BatuhanW changed the base branch from master to releases/august July 17, 2024 11:00
@aliemir aliemir merged commit f3e06e8 into releases/august Jul 25, 2024
37 checks passed
@aliemir aliemir deleted the fix/material-ui-broken-data-grid-on-themed-layout branch July 25, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] MUI Data Grid no longer horizontally scaling (also on official examples)
2 participants