Ticket #3016 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

Distance option default

Reported by: rdworth Owned by: rdworth
Priority: major Milestone: 1.5.1
Component: ui.core Version: 1.5
Keywords: distance default Cc:
Blocking: Blocked by:

Description

The default value for the distance option should be changed to 1 (currently 0) for plugins that use the mouse plugin. Otherwise in order for clicks go through you have to explicitly set the distance to 1 (or higher). This is the more common case (click without moving=click; move 1px=drag), and should thus be the default. See

Links in Sortable Handles  http://groups.google.com/group/jquery-ui/browse_thread/thread/b7f6d18958601316

Sortable element has div element on it and it's onclick doesn't work  http://groups.google.com/group/jquery-ui/browse_thread/thread/4ca568d90f231902

Sortable and href link  http://groups.google.com/group/jquery-ui/browse_thread/thread/a53a380561e58a43

Those are all sortables examples, but the same is true for selectables, draggables, resizables (slider already has 1 as default).

Change History

comment:1 Changed 6 years ago by rdworth

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [304]

Note: See TracTickets for help on using tickets.