Opened 8 years ago

Closed 8 years ago

#3016 closed bug (fixed)

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:
Blocked by: Blocking:

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 (1)

comment:1 Changed 8 years ago by rdworth

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

Fixed in [304]

Note: See TracTickets for help on using tickets.