-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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] Fixing iOS Safari negative margins #23956
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YuichiOnodera Could you update the tests in https://github.com/mui-org/material-ui/blob/79e80738e5c67f2e80af4a5dbe56e6ae47fb62ad/packages%2Fmaterial-ui%2Fsrc%2FGrid%2FGrid.test.js#L99-L108 to reflect the new values?
Looks like this causes visual regressions: https://www.argos-ci.com/mui-org/material-ui/builds/6090 Was this supposed to be a breaking change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The visual regression changes seem specific to the isolated env we use to take the screenshot. I couldn't spot changes in the documentation. Happy to give it a try. It would be great to have a second 👀 in the review.
But let's figure this out before we merge. Just because it looks ok for you, doesn't mean the change is safe. |
@eps1lon This would be great to double-check. |
I haven't looked at it specifically but it sounds like that the change is not detectable in the docs due to
So this is might be a breaking change if you're using |
Not sure, but looks like a browser bug (Chrome, Safari). When we use |
@YuichiOnodera Yeah, you are right. I move one of the visual screenshots to codesandbox: Developers would no longer get the correct width & placement. |
Close #17142