zhurandy / portal-issues-test

0 stars 0 forks source link

When a modal dialog is loaded, the page behind the modal should not scroll #210

Open zhurandy opened 10 years ago

zhurandy commented 10 years ago

When creating a modal dialog that masks the page behind it, the page should not be scrollable. We can do this by adding overflow: hidden onto the body element, however, we should use a CSS class to provide this functionality (so it can be easily overwritten by the theme). We should also make sure that the class name is removed when the dialog is hidden or destroyed.