Skip to content
#

drag-drop

Here are 109 public repositories matching this topic...

Sortable
yjukaku
yjukaku commented Jul 15, 2020

Describe the bug

When using the Swap plugin, it's impossible to cancel a swap once the swap threshold has been met for an item. You can't drag the item back to its original place to prevent a swap. This happens with or without the revertOnSpill: true option.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://sortablejs.github.io/Sortable/#swap
  2. Drag "Item 1" to h
robmeredith
robmeredith commented Aug 27, 2017

Version: 2.6.0
Angular 4.3.5
AngularCli: 1.4.0-rc.1

When running on universal I get the following error

ERROR TypeError: this.el.nativeElement.querySelector is not a function
    at Draggable.getDragHandleElement (C:\dev\git_clones\app\node_modules\ng2-drag-drop\src\directives\draggable.directive.js:136:49)
    at Draggable.applyDragHandleClass (C:\dev\git_clones\app\node_modules\ng

Improve this page

Add a description, image, and links to the drag-drop topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the drag-drop topic, visit your repo's landing page and select "manage topics."

Learn more