Scott DeSapio
4f358aeb17
Added fallbackOffset = options.fallbackOffset, and this.options.fallbackOffset -> fallbackOffset
9 years ago
Scott DeSapio
dcb3bae44c
Replace xOffset and yOffset -> fallbackOffset: {x: 0, y: 0}; Forward PR into dev-branch.
9 years ago
Lebedev Konstantin
caf43c8799
Revert "Fix Destroy workflow"
9 years ago
Tim van der Lippe
238216d8c9
Fix feedback
9 years ago
Lebedev Konstantin
fefff20f1f
#772 : newIndex
9 years ago
Lebedev Konstantin
3fde492e01
#772 : newIndex
9 years ago
Lebedev Konstantin
d497e64ca9
#864 : + check Sortable.active in nulling method
9 years ago
Boris Sergeev
f11bf04aaa
Add option for custom autoscrolling function
9 years ago
alexk111
9b70f32921
Fix Destroy workflow
9 years ago
Tim van der Lippe
643d9afe85
Fix issue with dragEl undefined when moving with a Polymer element
9 years ago
Joel Marcotte
6264428b97
Add the original mouse event as parameter in onMove
9 years ago
RubaXa
6f72f4ea5b
+ dragClass
9 years ago
RubaXa
b1defd32ff
* code style
9 years ago
dev101
6be0ded019
Removed brackets in typeof
9 years ago
dev101
8e8dc72b1a
Update Sortable.js
...
Checking `typeof(this[fn])` is enough
9 years ago
n00dl3
b7db3455e7
Add \n before comment
9 years ago
dev101
9b9704e182
Update Sortable.js
9 years ago
n00dl3
0dc1c1b91f
trigger most specialized events first
9 years ago
why520crazy
d1356e1633
fix bug for https://github.com/RubaXa/Sortable/issues/628
9 years ago
RubaXa
569b1187bd
#707 : + abs for _ghostIsLast
9 years ago
RubaXa
ba2b0863d1
#732 : fixed 'preapreGroup'
9 years ago
Onoshko Dan
ef4314bfa7
Throw error if call in node
9 years ago
RubaXa
7f3ee38b16
#718 : * fixed context in 'add' & 'sort' events
9 years ago
RubaXa
a1790fdf23
#677 : + pull/put as functions
9 years ago
RubaXa
b5780dce35
* UPD
9 years ago
RubaXa
f3af805d75
#671 : + 'clone' support jQuery/Zepto/Polymer.dom
9 years ago
RubaXa
31e6f0fab6
#701 : fixed oldIndex & selector == '>*'
9 years ago
RubaXa
2e82d42aec
#670 : * code style
9 years ago
RubaXa
2ec12f7ecd
#671 : + 'clone' event
9 years ago
RubaXa
92a7deae2a
#687 : fixed 'parentEl'
9 years ago
why520crazy
f4f7051750
meet style
9 years ago
shimizu daisuke
7370f0a8cf
Modified to initialize variables in _onDrop. so destory function does not work well.
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
RubaXa
d359188d65
#590 : * fallbackTolerance
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
Tali Lavi
13b5ac96e8
Remove unreliable reliance on 'this' when dispatching 'choose'
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
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
4701b853fd
v1.4.2: - Polymer dependency (bower)
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
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
RubaXa
03764ae535
* shortening
9 years ago
RubaXa
385f03e5d0
v1.3.0: Improved stability and performance on touch devices; Added a new option `chosenClass`
...
And so on: #558 , #547 , #542 , #537 , #532 , #516 , #500 , #489 , #489 , #447 , #475 , #459 , ##422, #411 , #356
9 years ago