Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#9103 closed bug (fixed)

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.

Change History (5)

comment:1 Changed 7 years ago by tj.vantoll

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

comment:2 Changed 7 years ago by tj.vantoll

Component: ui.draggableui.sortable

comment:3 Changed 7 years ago by tj.vantoll

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.

comment:4 Changed 7 years ago by Steve Urmston

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

comment:5 Changed 7 years ago by Scott González

Milestone: none1.10.2
Note: See TracTickets for help on using tickets.