Skip to main content

Search and Top Navigation

#4252 closed bug (fixed)

Opened February 28, 2009 09:04PM UTC

Closed February 28, 2009 09:24PM UTC

Last modified March 02, 2009 11:05AM UTC

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

Attachments (0)
Change History (3)

Changed February 28, 2009 09:24PM UTC by rdworth comment:1

resolution: → fixed
status: newclosed

Fixed in r2152

Changed March 01, 2009 12:59AM UTC by scottgonzalez comment:2

Options removed in r2155.

Changed March 02, 2009 11:05AM UTC by rdworth comment:3

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(); }

});