Open SamyMasadi opened 1 year ago
Hello @SamyMasadi,
We checked the issue and it's coming from well aware issues that we have with current generation of modals. However we are already working on plan to re-work the functionality behind that and the issue won't persist anymore.
This is a bug report for the
@clr
Angular or UI versions of the design system. For the web-component implementation of Clarity (@cds
), visit vmware-clarity/core.Describe the bug
On iOS Safari, Clarity modals and modal backdrops inside the "content-area" do not overlay Clarity header and nav elements. If the modal is tall enough, it will extend under the header. Although the header is not interactive while a modal is open, which is to be expected, the header still has the appearance of being interactive because the modal backdrop is not overlaying it.
Similarly, modals within a datagrid cell do not overlay any content outside of the datagrid. The rest of the page outside the datagrid all appears "above" the modal and modal backdrop. Only the modal contents appear to be interactive, as is expected, but none of the page outside of the datagrid are "grayed out" because the modal backdrop isn't overlaying the whole page.
How to reproduce
Steps to reproduce the behavior on the Clarity Design website:
Steps to reproduce the behavior on a Stackblitz example:
Expected behavior
The modal and modal backdrop should overlay all page contents.
Versions
Clarity version:
Device: