Search and Top Navigation
#9351 closed bug (fixed)
Opened May 31, 2013 04:08PM UTC
Closed May 31, 2013 07:01PM UTC
Dialog: Incorrect value for position option after resize
Reported by: | omuleanu | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.dialog | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
http://jsbin.com/ufubez/2/edit
when resizing a dialog from the left side the position of it will change but if we have:
.dialog({
resizeStop:function(e,ui){
var pos = $('#dialog').dialog('option','position'); gives old position
var pos1 = ui.position: gives new position;
}});
Attachments (0)
Change History (3)
Changed May 31, 2013 06:01PM UTC by comment:1
status: | new → open |
---|
Changed May 31, 2013 07:00PM UTC by comment:2
milestone: | none → 1.11.0 |
---|---|
summary: | dialog('option','position') gives wrong position after resizing dialog from the left border → Dialog: Incorrect value for position option after resize |
Actually, even the array form is incorrect since that's now deprecated.
Those two values don't actually represent the same thing, but the idea is right. We should be updating the position option after a resize.