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.