Opened 11 years ago

Closed 11 years ago

Last modified 11 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:

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 11 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in r2152

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

Options removed in r2155.

comment:3 Changed 11 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; }

or

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

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

});

Note: See TracTickets for help on using tickets.