sort
Here are 1,709 public repositories matching this topic...
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:
- Go to https://sortablejs.github.io/Sortable/#swap
- Drag "Item 1" to h
-
Updated
Jul 4, 2022 - Python
-
Updated
Jul 1, 2022 - JavaScript
-
Updated
Jun 24, 2022 - C++
-
Updated
Jun 19, 2022 - C
-
Updated
Apr 22, 2022 - Go
-
Updated
Jun 28, 2022 - JavaScript
-
Updated
Jun 27, 2022 - JavaScript
-
Updated
Apr 15, 2022
-
Updated
Jul 5, 2022 - JavaScript
-
Updated
Jan 29, 2022 - JavaScript
-
Updated
Dec 25, 2021 - Java
-
Updated
Aug 26, 2017 - TypeScript
-
Updated
Jun 25, 2022 - Go
-
Updated
Jul 4, 2022 - TypeScript
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
before-sort event?
-
Updated
Jul 2, 2022 - TypeScript
-
Updated
Jun 3, 2022 - C#
-
Updated
Feb 23, 2020 - JavaScript
-
Updated
Aug 3, 2021 - JavaScript
I haven't gotten around to a few sections, would be awesome if we could at least have some friendly placeholders.
Improve this page
Add a description, image, and links to the sort topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the sort topic, visit your repo's landing page and select "manage topics."
MinHeap and MaxHeap implementation are broken.
Instance of these heaps couldn't be instanciated with any not empty list of elements.
Here is a test code to reproduce:
Stacktrace: