We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75cc84f commit d7df468Copy full SHA for d7df468
app/code/Magento/Ui/view/base/web/js/modal/modal.js
@@ -363,14 +363,7 @@ define([
363
this.modal.data('active', false);
364
365
if (this.overlay) {
366
- // In cases when one modal is closed but there is another modal open (e.g. admin notifications)
367
- // to avoid collisions between overlay and modal zIndexes
368
- // overlay zIndex is set to be less than modal one
369
- if (this._getVisibleCount() === 1) {
370
- this.overlay.zIndex(this.prevOverlayIndex - 1);
371
- } else {
372
- this.overlay.zIndex(this.prevOverlayIndex);
373
- }
+ this.overlay.zIndex(this.prevOverlayIndex - 1);
374
}
375
},
376
0 commit comments