You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
For a dialog over a fixed overlay, I would use the window height instead of the body, to ensure that the dialog is placed within the limits of the viewport.
The Dialog is getting these styles:
Which are obviously based on the calculations made using body.clientHeight:
I can make a pull request to fix that line if you need me to.
The text was updated successfully, but these errors were encountered:
I can't see the Dialog opened by using the component, I think the offending line is:
https://github.com/tleunen/react-mdl/blob/master/src/Dialog/Dialog.js#L30
Which takes
body.clientHeight
into account.For a dialog over a fixed overlay, I would use the window height instead of the body, to ensure that the dialog is placed within the limits of the viewport.
The Dialog is getting these styles:
Which are obviously based on the calculations made using
body.clientHeight
:I can make a pull request to fix that line if you need me to.
The text was updated successfully, but these errors were encountered: