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
RubaXa
d0c1226f62
* cs
9 years ago
RubaXa
a793a5e395
v1.4.0: Add Polymer Support ( #600 ); * React v0.14 ( #571 , #572 ); * ng-repeat ( #573 )
9 years ago
RubaXa
f4159a9bc5
Merge branch 'master' into dev
9 years ago
Lebedev Konstantin
3955c3ba82
Merge pull request #600 from gutenye/polymer
...
Add Polymer Support
9 years ago
Guten Ye
82a0c763ff
update README
9 years ago
Guten Ye
221bb3354b
Add Polymer Support
9 years ago
Slavic Dragovtev
d779c3910d
use tabs instead of spaces
9 years ago
Slavic Dragovtev
4ad0653869
use tabs instead of spaces
9 years ago
Slavic Dragovtev
44e1ab8f00
Allow a custom setState handler on the using component
...
Only components having a state are currently working correctly with the sortable mixing. The proposed fix is to allow custom state handling method to be passed in as config.
9 years ago
sp-kilobug
019fc1a32b
"distance" option refactored
9 years ago
sp-kilobug
918501cd57
"distance" option, touch
9 years ago
sp-kilobug
446627298d
"distance" option
...
An attempt to implement the "distance" option (like http://api.jqueryui.com/sortable/#option-distance ).
This is useful when your sortable element is also clickable. This prevents the drag to begin due to a micro-movement when you click.
9 years ago
Lebedev Konstantin
6140e497fb
Merge pull request #579 from RubaXa/possibly-unintended-file
...
Delete log.txt
9 years ago