Open samueltesfayegari opened 3 weeks ago
added this
body { overflow: auto !important; }
To overcome any CSS or JavaScript preventing the body from scrolling or locking the scroll bar.
But I ended up with the MUI offset of the right margin of the screen, like it fluctuates to the opposite.
I made that to stop the fluctuation from the scrollbar hiding, but MUI still got another offset.
Originally posted by @samueltesfayegari in https://github.com/mui/material-ui/issues/17353#issuecomment-2305711595
Search keywords:
I guess you are suggesting to add it to the docs?
Yes I wish the MUI offset could be overridden by something else or this.
body { overflow: auto !important; }
To overcome any CSS or JavaScript preventing the body from scrolling or locking the scroll bar.
But I ended up with the MUI offset of the right margin of the screen, like it fluctuates to the opposite.
I made that to stop the fluctuation from the scrollbar hiding, but MUI still got another offset.
Originally posted by @samueltesfayegari in https://github.com/mui/material-ui/issues/17353#issuecomment-2305711595
Search keywords: