I am currently working on implementing a confirmation modal that pops up when a button is clicked. Although the modal appears, it seems to be positioned behind the background that darkens the rest of the page.
Relevant CSS:
.reveal-modal-bg {
background: rgba(0,0,0,.75);
z-index:2000;
}
.reveal-modal {
border-radius:7px;
border:none;
padding:20px;
z-index:9999;
}
Despite setting the z-indices correctly, the issue arises when viewing the modal on Safari in iOS 9. The modal appears incorrectly and gets hidden behind the background. Can someone advise me on how to bring it back to the front? Thank you for your help in advance.