Skip to main content

Search and Top Navigation

#4786 closed feature (fixed)

Opened August 18, 2009 07:11PM UTC

Closed October 10, 2012 07:14PM UTC

Sortable accordion: On sort, accordion is activated

Reported by: jzaefferer Owned by:
Priority: major Milestone: 1.9.0
Component: ui.sortable Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

The click/mouseup event of a sort needs to be stopped, so that it doesn't propage to the accordion.

The demo is here: http://jquery-ui.googlecode.com/svn/trunk/demos/accordion/sortable.html

Accordion uses the click event to detect activation, while sortable is based on mousedown/move/up. So using sortables stop-callback, only a mouseup can be stopped from propagation, while the click still triggers.

The demo contains a workaround. That needs to be improved

Attachments (0)
Change History (4)

Changed August 18, 2009 07:19PM UTC by jzaefferer comment:1

description: The click/mouseup event of a sort needs to be stopped, so that it doesn't propage to the accordion.The click/mouseup event of a sort needs to be stopped, so that it doesn't propage to the accordion. \ \ The demo is here: http://jquery-ui.googlecode.com/svn/trunk/demos/accordion/sortable.html \ \ Accordion uses the click event to detect activation, while sortable is based on mousedown/move/up. So using sortables stop-callback, only a mouseup can be stopped from propagation, while the click still triggers.

Changed August 18, 2009 07:22PM UTC by jzaefferer comment:2

description: The click/mouseup event of a sort needs to be stopped, so that it doesn't propage to the accordion. \ \ The demo is here: http://jquery-ui.googlecode.com/svn/trunk/demos/accordion/sortable.html \ \ Accordion uses the click event to detect activation, while sortable is based on mousedown/move/up. So using sortables stop-callback, only a mouseup can be stopped from propagation, while the click still triggers.The click/mouseup event of a sort needs to be stopped, so that it doesn't propage to the accordion. \ \ The demo is here: http://jquery-ui.googlecode.com/svn/trunk/demos/accordion/sortable.html \ \ Accordion uses the click event to detect activation, while sortable is based on mousedown/move/up. So using sortables stop-callback, only a mouseup can be stopped from propagation, while the click still triggers. \ \ The demo contains a workaround. That needs to be improved
type: bugenhancement

Changed June 26, 2012 01:22AM UTC by scottgonzalez comment:3

type: enhancementfeature

Changed October 10, 2012 07:14PM UTC by scottgonzalez comment:4

resolution: → fixed
status: newclosed

The workaround no longer exists in the demo, so this must be fixed.