When easyui and dialog are displayed on the top page of The ifrmae page, drag the dialog edge (to change the window size) and the UI is stuck.

Source: Internet
Author: User

Setting the modal attribute of dialog to true can solve the problem of freezing (but it will affect the user experience)
 1           VaR Par = {  2   Title: This. title,  3   Width: This. Width,  4   Height: This. height,  5  Cache: This. cache,  6   Modal: This. modal,  7   Resizable: This. resizable,  8   Maximizable: This. maximizable,  9   Onresize: This. onresize,  10 Modal: True , //  Key code: otherwise, drag the dialog edge to change the window size, and dailog will be stuck; // modal: whether to display the form as a model window. True 11 Constrain: True , //  Key code: if it is set to false, the form title can be dragged out of the edge of the browser, resulting in a drag-and-drop failure (which leads to the failure to close the dialog -- at this time, you can only refresh the current page to continue to operate the software. // Constrain: defines whether to restrict the position of the form. (This method is available from version 1.5)  12 Onload: Function  (){  13 $ ("Iframe [ID = 'ifr" + this. renderid + "']"). contentWindow. dialogdata = This. dialogdata;  14   This. onload ();  15  },  16   Onclose: This. onclose  17 };
Encapsulated code snippets

 

 

When easyui and dialog are displayed on the top page of The ifrmae page, drag the dialog edge (to change the window size) and the UI is stuck.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.