EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 13, 2025, 09:04:55 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
dialog or window drag bug!
Pages: [
1
]
« previous
next »
Print
Author
Topic: dialog or window drag bug! (Read 8843 times)
codewriter
Newbie
Posts: 9
dialog or window drag bug!
«
on:
December 05, 2014, 04:48:56 AM »
Drag a dialog or window to the edge of the browser window department for is blocked by the browser, unable to move!
chrome or IE!
Logged
jarry
Administrator
Hero Member
Posts: 2298
Re: dialog or window drag bug!
«
Reply #1 on:
December 05, 2014, 07:59:33 AM »
Just adjust the position of dialog after moving the dialog. The code below shows how to achieve this functionality.
Code:
$('#dlg').dialog({
onMove: function(left,top){
if (top < 0){
$(this).dialog('move', {top:0})
}
}
})
Logged
codewriter
Newbie
Posts: 9
Re: dialog or window drag bug!
«
Reply #2 on:
December 07, 2014, 06:09:28 PM »
thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...