precise-ui icon indicating copy to clipboard operation
precise-ui copied to clipboard

Opening of 2 Modals and closing one results in scrollable background

Open Saladinek opened this issue 4 years ago • 0 comments

Description: When opening a Modal, the background is set to be unscrollable and is set to scrollable upon closing the Modal. Opening two Modals at the same time and closing one of them results in scrollable background, even though one of the modals is still actively opened.

Steps to reproduce: 1. Have a page filled so, that the content is scrollable 2. Open two Modals at the same time 3. Close one of the Modals

Expected Behaviour: Background is still not scrollable after closing one of the Modals, because the other Modal is still opened

Actual Behaviour: Background becomes scrollable with one Modal still opened.

Saladinek avatar Nov 22 '19 15:11 Saladinek