Custom Dialogs demo: Bumping backdrop Z. (#1705)

This commit is contained in:
Andrew n marshall
2018-03-15 13:15:20 -07:00
committed by GitHub
parent fe2a7499d2
commit 63e33c8894

View File

@@ -93,7 +93,8 @@ CustomDialog.show = function(title, message, options) {
backdropDiv.style.cssText =
'position: absolute;' +
'top: 0; left: 0; right: 0; bottom: 0;' +
'background-color: rgba(0, 0, 0, .7);';
'background-color: rgba(0, 0, 0, .7);' +
'z-index: 100;';
document.body.appendChild(backdropDiv);
dialogDiv = document.createElement('div');