twobin/react-lazyload

Not working with Material Ui FullScreen Dialog

jonath92 opened this issue · 1 comments

The title says pretty much everything. Components inside a LazyLoad Component which again are on a Mui Dialog with fullScreen=true are never rendered. See this code: https://codesandbox.io/s/fullscreendialog-material-demo-forked-5u0cn?file=/demo.tsx

Ok took me some time but I found the problem. It works when adding the overflow prop to the Lazyload component. The reason therefore is that the dialog from react adds overflow:'hidden' to the body.