### Steps to reproduce Steps: 1. Add this CSS to the page: ```css html { scrollbar-gutter: stable; } ``` and render a `<Modal>` component, e.g. https://github.com/mui/material-ui/assets/3165635/45c6fba0-f34c-4b71-91c6-791bad4fa94a ### Current behavior The layout moves and the backdrop doesn't cover the whole page. ### Expected behavior Either `scrollbar-gutter: auto` is set as a temporary reset while the dialog is open (better) or no padding is added to the body. ### Context - The issue is with Base UI's Modal component. - I wondered if this could make sense for the flesh of the CssBaseline component mui/material-ui#38507, but https://github.com/tailwindlabs/tailwindcss/pull/8234 does have a point. It's not something you want 100% of the time, it doesn't make sense with e.g. Google Maps. ### TODO - [ ] To change the approach in mui/material-ui#40749 once this issue is solved (probably in the same PR actually) ### Your environment <details> <summary><code>npx @mui/envinfo</code></summary> ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ``` </details> **Search keywords**: scrollbar gutter
Steps to reproduce
Steps:
and render a
<Modal>component, e.g.Screen.Recording.2024-01-23.at.01.32.26.mov
Current behavior
The layout moves and the backdrop doesn't cover the whole page.
Expected behavior
Either
scrollbar-gutter: autois set as a temporary reset while the dialog is open (better) or no padding is added to the body.Context
TODO
Your environment
npx @mui/envinfoSearch keywords: scrollbar gutter