Search and Top Navigation
#6103 closed bug (wontfix)
Opened September 23, 2010 05:35PM UTC
Closed September 23, 2010 05:47PM UTC
Last modified October 11, 2012 09:15PM UTC
Dialog wont reposition position
Reported by: | arunitc | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.dialog | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you give an animation in the $("#obj").dialog() function and then try repositioning in the open event of the dialog, the reposition will not work. Removing the show: 'slide' option is the only way to make this work
$(editTemplate).dialog({ modal: true, show: 'slide,
open: function () {
$(this).dialog("option", "position", 'top');
});
In the above example the position option will not work unless show: 'slide' is removed from the options on top.
Animations require wrapping the animated element. Change the position before opening the dialog.