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

[material-ui][Dialog] Fix broken scrolling in full screen mode #43626

Merged
merged 9 commits into from
Sep 7, 2024
3 changes: 2 additions & 1 deletion packages/mui-material/src/Dialog/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const DialogPaper = styled(Paper, {
memoTheme(({ theme }) => ({
margin: 32,
position: 'relative',
overflowY: 'auto',
'@media print': {
overflowY: 'visible',
boxShadow: 'none',
Expand Down Expand Up @@ -195,7 +196,7 @@ const DialogPaper = styled(Paper, {
borderRadius: 0,
[`&.${dialogClasses.paperScrollBody}`]: {
margin: 0,
maxWidth: '100%',
maxWidth: '100%',
DiegoAndai marked this conversation as resolved.
Show resolved Hide resolved
},
},
},
Expand Down