Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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:


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.


Change History (3)

comment:1 Changed 14 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in r2152

comment:2 Changed 14 years ago by Scott González

Options removed in r2155.

comment:3 Changed 14 years ago by rdworth

If you used dragHelper for performance reasons before, the same can now be achieved by

  • CSS: .ui-dialog-dragging .ui-dialog-content { display: none; }


  • JS: $("#dialog").dialog({

dragStart: function() { $(this).hide(); }, dragStop: function() { $(this).show(); }


Note: See TracTickets for help on using tickets.