Skip to content
#

drag-drop

Here are 126 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
enhancement Swap good first issue
Silex
lexoyo
lexoyo commented Apr 30, 2021

After #1109 we do not need the whole JQuery anymore, we should use the lightweight Zepto as a drop-in replacement

  • Zepto is 9.6K
  • JQuery is 84K

Also an option to not include any library would be nice (all Silex components shoud be jquery-free)

  • replace JQuery with Zepto
  • remove JQuery syntax from components
  • add an option to not include JQuery/
ng-drag-drop
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