Skip to content

Releases: photoshelter/sortable-list

Add the ability to move items across different list

26 Feb 16:29
Compare
Choose a tag to compare

Determine drop location based on mouse direction

18 Oct 14:16
929b8f0
Compare
Choose a tag to compare

The logic for sorting is no longer based on the original order, but based on the mouse move direction.
If the mouse is moving up item will be dropped above the drop target. If mouse is moving downwards, it will be dropped below the drop target.

Additionally, the drag image is set and on Edge where setDragImage is not supported, a workaround is implemented.
LIMITATIONS: Drag image does not work well in IE11

Global functions were moved into the Sortable-list element for better access to the list from the drag* events.

IE bug fix

18 Oct 14:28
Compare
Choose a tag to compare

IE does only allows "text" and "url" as the first argument to dataTransfer.setData and dataTransfer.getData

Polymer 2 and drop target bug fix

18 Oct 14:05
38d271e
Compare
Choose a tag to compare

Hybrid conversion to work in Polymer 1.11 and Polymer 2.6.
Fix drop target sorting issue (see afloesch#4).
Augment component to accept a handle-selector which specifies draggable element.