1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Lower tray zIndex when overlay tray being opened

Fixes #3019
This commit is contained in:
Nick O'Leary 2021-06-23 14:34:52 +01:00
parent 2cda49fc38
commit d6f6efc189
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -260,6 +260,9 @@
showTray(options);
},250)
} else {
if (stack.length > 0) {
stack[stack.length-1].tray.css("z-index", 0);
}
RED.events.emit("editor:open");
showTray(options);
}
@ -322,6 +325,8 @@
$(".red-ui-sidebar-shade").hide();
RED.events.emit("editor:close");
RED.view.focus();
} else {
stack[stack.length-1].tray.css("z-index", "auto");
}
},250)
}