#4252 closed bug (fixed)
Dialog: undocumented dragHelper and resizeHelper options should be removed
Reported by: | rdworth | Owned by: | rdworth |
---|---|---|---|
Priority: | major | Milestone: | 1.7 |
Component: | ui.dialog | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The dialog options: dragHelper and resizeHelper should be removed in favor of automatically adding the following classes during drag or resize:
- ui-dialog-dragging
- ui-dialog-resizing
these can then be used along with css to achieve similar effects.
See http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/aea11eb87ff84803
Change History (3)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
If you used dragHelper for performance reasons before, the same can now be achieved by
- CSS: .ui-dialog-dragging .ui-dialog-content { display: none; }
or
- JS: $("#dialog").dialog({
dragStart: function() { $(this).hide(); }, dragStop: function() { $(this).show(); }
});
Note: See
TracTickets for help on using
tickets.
Fixed in r2152