Model window does not fill the gray for the entire page

Hi,



When I set the window to Modal, it works fine but the gray background is not filled for the entire page and is only for the half of the page. When the page is scrolled down it looks odd as gray does not appear for the rest of the page. Please find attached the sample code. I went through the knowledge base and tried to set the body height and width to 100% but still does not seem to work.











Untitled Document

    

    

    







































































 
 
 
 
 
 
 
 
 
 











Hello,


The solution is to attach window viewport to the necessary container - and all windows will be visible only inside this container.

Please, see the sample of such a vieport in the documentation: dhtmlx.com/docs/products/dhtmlxW … er_as.html