Issue Bug Closed

#86993Nested modals do not block previous modal

Armin Vieweg 11/25/18, 03:04 updated 03/27/25, 21:43

Description

With small CSS improvement in global backend CSS file, you can fix this.

*Before:*
before.png

*After:*
after.png

CSS Fix:

.modal-backdrop {
    z-index: 5000;
}

It works for an unlimited amount of levels. The trick is to set the modal-backdrop z-index equal to the modal z-index. The rest happens by the order of backdrop and modal in DOM.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.