Skip to content
#

sort

Here are 1,511 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

GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, Enumerables, Sort, JSON

  • Updated Sep 30, 2021
  • Go
ObaidUrRehman
ObaidUrRehman commented Jun 3, 2020

The sorting does not seem to be working when the items are in a fixed height container that scroll all the items.

See this fiddle:
https://jsfiddle.net/ns5jg8L9/

If you try to drag the last item in the list to the top it won't scroll automatically and even if you use the mouse wheel to scroll while dragging it, dropping it on the top won't trigger a drop.

I guess this has something to do

Improve this page

Add a description, image, and links to the sort 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 sort topic, visit your repo's landing page and select "manage topics."

Learn more