does modal in dhtmlx window only with with viewport?

When I make a window and call setModal(true), it doesnt make it modal, I can still interact with windows underneath, and bring other windows on top…













    Minimal Init

    

    



    

    

    

    













Create Window









The problem can’t be reconstructed locally - it uses the same code , but it works fine with modality.
Please check attached sample. ( if sample works correctly for you - please try to use js files from it instead of original ones )

win_sample.zip (62.2 KB)


Thanks.  There was a fix in the css file in your zip which makes it work, this part is the bad part, and if your zip is the right part:



Appreciate it, we will be buying a license soon.  Regards, Chris



/* cover for modal windows */
div.dhtmlx_winviewport iframe.dhx_modal_cover_ifr {
 position: absolute;
 left: 0px;
 top: 0px;
 width: 100%;
 height: 100%;
 filter: alpha(opacity=0);
 -moz-opacity: 0;
 opacity: 0;
 background-color: #FFFFFF;
}
div.dhtmlx_winviewport div.dhx_modal_cover_dv {
 position: absolute;
 left: 0px;
 top: 0px;
 width: 100%;
 height: 100%;
 border: none;
 filter: alpha(opacity=0);
 -moz-opacity: 0;
 opacity: 0;
 background: #FFFFFF;
}