Skip to main content

Search and Top Navigation

#9103 closed bug (fixed)

Opened February 19, 2013 10:56PM UTC

Closed February 21, 2013 01:21PM UTC

Last modified February 21, 2013 01:21PM UTC

Draggable: revert option reset after being added to a connectedSortable

Reported by: steveu Owned by:
Priority: minor Milestone: 1.10.2
Component: ui.draggable Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:
Description

Draggable -> connectToSortable:

Dragging an element on a sortable list sets the sortable list revert property to true, although it's valid to have it set as a speed, e.g. 150.

http://jsfiddle.net/surmston/6XQRN/3/

Might be related to having;

Draggable: revert + revertDuration

Sortable: revert *is* revert duration as well.

I've got a tiny fix that I'll add a pull request for.

Attachments (0)
Change History (5)

Changed February 20, 2013 03:42AM UTC by tj.vantoll comment:1

status: newopen
summary: Draggable sets sortable revert speed (to true) when connectedSortable: revert option reset after receiving a connected draggable

Changed February 20, 2013 03:44AM UTC by tj.vantoll comment:2

component: ui.draggableui.sortable

Changed February 20, 2013 03:47AM UTC by tj.vantoll comment:3

component: ui.sortableui.draggable
summary: Sortable: revert option reset after receiving a connected draggableDraggable: revert option reset after being added to a connectedSortable

Per the pull this does seem to be a draggable issue so I'll switch this back. I'll stop messing with this now.

Changed February 21, 2013 01:21PM UTC by Steve Urmston comment:4

resolution: → fixed
status: openclosed

Draggable: Revert flag honours Sortable revert speed. Fixed #9103 Draggable: revert option reset after being added to a connectedSortable.

Changeset: a924af12b6743408903c642f84a00b0766cd17b7

Changed February 21, 2013 01:21PM UTC by scottgonzalez comment:5

milestone: none1.10.2