Z Index + window + confirm alert

Hi team
Il have Webix window and i need to use a zIndex to 99999 to overlap the Wrodpress Toolbar

When i use a webix confirm alert, its stays behind the window

i use the CSS + code

#wpadminbar {
z-index: 99900!important;
}

.webix_modal_box {
z-index: 99999!important;
}

webix.ui({
view: “window”,
zIndex: 99990,

And the webix confirm alert stays behind the window :
Do you have an idea tu put the webix confirm alert to the fron please ?

Regards ,
Xavier

try this

let zIndexBase = webix.env.zIndexBase;
webix.env.zIndexBase = 99999;
try {
    showAlert();
} finally {
    webix.env.zIndexBase = zIndexBase;
}
1 Like