Closed ghost closed 2 years ago
When clicking on Modal, the backdrop will not be displayed on the whole page if modal is not shown in the initial page view.
When clicking on Modal the backdrop would cover the whole page, no matter the Modal position on the page.
https://codesandbox.io/s/itwinui-react-modal-bug-pyy2pz
Using the newest iTwinUI version. Edge, Chrome, Firefox browsers.
Possible solution: Settings these changes in scss fixes the problem (I think): .iui-backdrop { position: fixed; height: 100%; }
Closing this as duplicate of https://github.com/iTwin/iTwinUI/issues/738, should be fixed soon-ish.
Describe the bug (actual behavior)
When clicking on Modal, the backdrop will not be displayed on the whole page if modal is not shown in the initial page view.
Expected behavior
When clicking on Modal the backdrop would cover the whole page, no matter the Modal position on the page.
Reproduction
https://codesandbox.io/s/itwinui-react-modal-bug-pyy2pz
Steps to reproduce
Additional information
Using the newest iTwinUI version. Edge, Chrome, Firefox browsers.
Possible solution: Settings these changes in scss fixes the problem (I think): .iui-backdrop { position: fixed; height: 100%; }