RubaXa
92a7deae2a
#687 : fixed 'parentEl'
9 years ago
Lebedev Konstantin
179006c23e
Merge pull request #689 from WorktileTech/drag-fix
...
fix bug about evt.oldIndex when set options.group
9 years ago
why520crazy
f4f7051750
meet style
9 years ago
Lebedev Konstantin
f26d300c03
Merge pull request #684 from matikun86/master
...
Fix for Issue #580 [Angular] Javascript error when moving items between two lists very fast #683
9 years ago
mkun
e03656d860
Sometimes evt.from is different from evt.item.parentNode because the item has been moved already so using evt.item.nextSibling won't work when doing evt.from.insertBefore, because nextSibling is not a child of evt.from.
...
So in those cases we use evt.clone.nextSibling instead.
9 years ago
RubaXa
15e82b5ae8
* merge: dev + master
9 years ago
RubaXa
fc69adad94
+ merge master
9 years ago
shimizu daisuke
7370f0a8cf
Modified to initialize variables in _onDrop. so destory function does not work well.
9 years ago
Lebedev Konstantin
6952f3b525
Merge pull request #607 from dlamotte/master
...
fix for sorting elements within a non-homogenus list of elements
9 years ago
Lebedev Konstantin
18dd1bd4f5
Merge pull request #662 from J-Zeitler/dev
...
fix a bug causing wrapped float/flex elements to flicker when sorted
9 years ago
Jonas Zeitler
4094911e8f
revert index.html change + fix styling errors
9 years ago
Jonas Zeitler
5c426a87de
fix a bug causing wrapped float/flex elements to flicker when sorted
9 years ago
Dan LaMotte
4facaff715
refactor _matches() out of _closest()
...
The _closest() method already defined a way to do what _matches() was
trying to accomplish. This pulls the functionality out of _closest() so
that it can be reused outside of _closest() but refactors _closest() to
use this new _matches() method.
9 years ago
Dan LaMotte
4c2bd1c287
fix for sorting elements within a non-homogenus list of elements
...
For instance, say you are sorting tbody's within a table element. There
can also exist tfoot and thead within the table element. The _index()
function assumes that the list of elements within the parent is
homogenus (ie: just li's below an ol/ul). This isnt the case when
sorting tbody under table. This is edge case until you want to group
tr's under a table and sort on those groupings.
9 years ago
Sebastian Rosengren
c3d724d8fb
Knockout - Fixes #623 #585 #557
9 years ago
Sebastian Rosengren
4b9fc79dd9
Added knockout-sortable example/test
9 years ago
Sebastian Rosengren
01f1e47cbd
Merge branch 'master' into dev
...
Conflicts:
README.md
Sortable.js
Sortable.min.js
component.json
9 years ago
Lebedev Konstantin
a849935b43
Merge pull request #650 from SebastianTroc/dev
...
Fix for callbacks invocation
9 years ago
Sebastian Troć
8cef762d11
Fix for callbacks invocation
...
Tweaked callbacks overwriting and preventing to trying of calling
strings
9 years ago
Lebedev Konstantin
2fe3a25cd3
Merge pull request #645 from davewood/master
...
format comments
9 years ago
David Schmidt
f7bcbddaa3
format comments
9 years ago
RubaXa
d359188d65
#590 : * fallbackTolerance
9 years ago
Lebedev Konstantin
9784d7b44a
Merge pull request #590 from sp-kilobug/spk-patch7
...
"distance" option
9 years ago
Lebedev Konstantin
338400eb6a
Merge pull request #635 from cauburtin/patch-4
...
few errors thrown by react0.14
9 years ago
Lebedev Konstantin
7c8523713e
Merge pull request #640 from davewood/master
...
add Sortable as dependency for knockout-sortable
9 years ago
Lebedev Konstantin
73f8569005
Merge pull request #643 from gutenye/fix-642
...
fix import polymer readme closes #642
9 years ago
Guten Ye
c17cb275de
fix import polymer readme closes #642
9 years ago
why520crazy
676134128d
don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
9 years ago
David Schmidt
425aafa8d1
fix commonJS and plain version deps
9 years ago
David Schmidt
b65d326d40
add Sortable as dependency for knockout-sortable
9 years ago
Cyril Auburtin
e4ea76ca68
Update README.md
9 years ago
Cyril Auburtin
18d32b67ab
few errors thrown by react0.14
...
ref={i} for https://facebook.github.io/react/docs/multiple-components.html#dynamic-children
9 years ago
Lebedev Konstantin
0dd6b94f23
Merge pull request #624 from cauburtin/patch-2
...
avoid changing oldIndex by the parent container
9 years ago
Lebedev Konstantin
ce59cdd362
Merge pull request #632 from TaliLavi/dev
...
Remove unreliable reliance on 'this' when dispatching 'choose'
9 years ago
Tali Lavi
13b5ac96e8
Remove unreliable reliance on 'this' when dispatching 'choose'
9 years ago
Lebedev Konstantin
08a3a37094
Merge pull request #630 from noahlaux/polymer-pre-es6-support
...
Use functions instead of arrows for pre ES6 support
9 years ago
Noah Laux
80028f8f02
Use functions instead of arrows for pre ES6 support
9 years ago
Cyril Auburtin
a4e003d4df
avoid changing oldIndex by the parent container
...
should fix #618 and #597
oldIndex was changed first by with the item being dragged, but also by the drag event of the parent (which should be avoided when we are not using the drag-handle)
9 years ago
Lebedev Konstantin
e648a7373c
Merge pull request #615 from TaliLavi/dev
...
Added onPickup event.
9 years ago
TaliLavi
0d17cf0943
Added onChoose event.
...
This event will fire when an element is chosen, and is particularly
useful for providing the user with a visual, auditory or tactile indication,
in case a delay was enabled.
9 years ago
RubaXa
51337f7279
Merge branch 'master' of github.com:RubaXa/Sortable
9 years ago
RubaXa
4701b853fd
v1.4.2: - Polymer dependency (bower)
9 years ago
Lebedev Konstantin
223c9d2385
Merge pull request #611 from cebor/patch-1
...
Remove Polymer from bower dependencies
9 years ago
Felix Itzenplitz
9cf9cee983
Remove Polymer from bower dependencies
9 years ago
sp-kilobug
45c327bdee
simplified + renamed to fallbackTolerance + description in README
9 years ago
RubaXa
40a2f60545
v1.4.1: * React & ko & bower
9 years ago
RubaXa
6f61d145ce
* bump
9 years ago
Lebedev Konstantin
a531e51fd2
Merge pull request #605 from 4imble/master
...
Fix to knockout sorting when dragging item index 1 to 0.
9 years ago
Lebedev Konstantin
282e4598cb
Merge pull request #595 from slavicd/master
...
Allow a custom setState handler on the using component
9 years ago
4imble
5bbabe7c08
Fix to knockout sorting when dragging item index 1 to 0.
...
The items would not swap positions when you dragged item with index 1 to
the top of the stack at index 0.
9 years ago