Ken
aa6e99ef9e
Swap Feature
...
This is a rough implementation of a swapping feature. Setting the new "swap" option to true will cause a dragged item to be swapped with the item you drop it on (instead of inserted next to it). The item being hovered over (and potentially swapped with) will be highlighted by adding the class specified in the new "swapHighlightClass" option (defaults to "sortable-swap-highlight"). When swapping is enabled, the "end" event's "to" property will be set to the item being dropped on and swapped with.
It's a bit hackish, but it works as a solution to issues #1211 , #1082 , #1072 , #891 , #869 , and #469 . Maybe it can at least serve as a starting off point to adding this feature to master eventually? Thanks!
7 years ago
Lebedev Konstantin
ab9f9600e8
Merge pull request #1272 from 2xAA/patch-b8a358a
...
Fix HTMLElement.matches error introduced in b8a358a
7 years ago
Sam Wray
c35043730c
Revert Sortable.min.js
7 years ago
Sam Wray
dcb463397a
Revert Sortable.min.js
7 years ago
Sam Wray
46129ac0c8
Compact try catch
7 years ago
Lebedev Konstantin
144ad2b84c
Merge pull request #1266 from noelheesen/master
...
Extend scrollCustomFn
7 years ago
Sam Wray
3785502f1f
Fix HTMLElement.match error introduced in b8a358a
7 years ago
Noel Heesen
07da2fc4b0
Remove keepOriginalScroll option
7 years ago
Noel Heesen
363062a09c
Merge Sortable/master
7 years ago
Lebedev Konstantin
d86e2b9548
Merge pull request #1262 from 2xAA/expose-original-event
...
Expose original event
7 years ago
Lebedev Konstantin
94ffa4bee8
Merge pull request #1251 from andrews05/master
...
Use Element.matches for improved selector support
7 years ago
Noel Heesen
afd5854069
Update readme with 'keepOriginalScroll' option
7 years ago
Noel Heesen
e518620ec2
Add 'keepOriginalScroll' as option
7 years ago
Noel Heesen
423e055acd
Update readme for new parameters to scrollCustomFn
7 years ago
Noel Heesen
507c969e80
Add 'touchEvt' and 'hoverTargetEl' to scrollCustomFn parameters
7 years ago
Sam Wray
ac7c17eac4
Merge pull request #2 from 2xAA/expose-original-event
...
Expose original event
7 years ago
Sam Wray
7c5f9c079a
Merge branch 'RubaXa-master' into expose-original-event
7 years ago
Sam Wray
712cd7d6a3
Merge from upstream
7 years ago
FriendlyWeb
b8a358a5f6
Use Element.matches for improved selector support
7 years ago
Lebedev Konstantin
dc38e43ce9
Merge pull request #1248 from ddett/master
...
fixes issue #1243
7 years ago
ddett
826d66aa5f
fixes issue #1243
...
fixes issue #1243
"cannot drag elements in Cordova iOS app"
https://github.com/RubaXa/Sortable/issues/1243
7 years ago
Lebedev Konstantin
9b52503642
Merge pull request #1242 from Yqnn/master
...
Fixed animations when code is optimized with Angular build-optimizer
7 years ago
Yann Armelin
c1a94f2e55
Fixed animations when code is optimized with Angular build-optimizer
7 years ago
RubaXa
8ba4a544d8
* rebuild
7 years ago
RubaXa
495b9deb86
#1236 : Creating clone if it really needs
7 years ago
Lebedev Konstantin
cc95fd94a0
Merge pull request #1225 from epoberezhny/checkboxes-fix
...
Checkboxes fix
7 years ago
epoberezhny
dc2bdf756c
rebuild
7 years ago
epoberezhny
d9ae21c6f8
move back to checked property, add nullifying array before saving checked inputs
7 years ago
Lebedev Konstantin
6d4bd8fed1
Merge pull request #1221 from epoberezhny/checkboxes
...
Checkboxes
7 years ago
Eugene
54873d1db0
indexOf doesn't work
7 years ago
Eugene
b0389176ea
update working with checkboxes
7 years ago
RubaXa
64e4491ce8
v1.7.0: * events, iframe, timeouts and etc
7 years ago
RubaXa
d49f468d83
- passive mode
7 years ago
RubaXa
47de7844aa
* rebuild
7 years ago
RubaXa
d1e6026cff
+ supportPointer (low level api)
7 years ago
RubaXa
811e448711
#1202 : passive mode
7 years ago
Lebedev Konstantin
2600dc6b50
Merge pull request #1200 from elo7/shadow-root
...
Fix touch event listener when element is inside a Shadow DOM
7 years ago
Luiz Corte Real
e2a57cbbd9
Refactor
7 years ago
Aline Lee Nogueira and William Seiti Mizuta
f5cae641f7
Fix touch event listener when element is inside a shadow dom
7 years ago
Lebedev Konstantin
a88beffbdb
Update ISSUE_TEMPLATE.md
7 years ago
Lebedev Konstantin
cd2f419554
Merge pull request #1191 from lahmatiy/patch-1
...
typo
7 years ago
Roman Dvornov
21e9b0f467
typo
7 years ago
RubaXa
47e70b64e1
+ mouseover
7 years ago
RubaXa
1b6d956f03
* fixed start/stop
7 years ago
RubaXa
1f7036c6c3
#1143 : + additional parent check
7 years ago
RubaXa
1e79040e1d
#1143 : + IFrame support workaround
7 years ago
RubaXa
56022568d9
+ dev
7 years ago
Lebedev Konstantin
5720a6d6d6
Merge pull request #1051 from joey-becker/dev
...
evt.to in onAdd, onSort, onUpdate, onEnd
7 years ago
Lebedev Konstantin
f1af267bff
Merge branch 'dev' into dev
7 years ago
RubaXa
cc1eb94101
#1182 : will-change (transform -> all)
7 years ago