Skip to content

Commit

Permalink
Merge pull request clauderic#73 from Daadler6/bugfix/touchCancel-Support
Browse files Browse the repository at this point in the history
[Bugfix] Listen for `touchCancel` event to end sorting
  • Loading branch information
Claudéric Demers authored Oct 26, 2016
2 parents fde6244 + c6f93b9 commit e7c930e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function arrayMove (arr, previousIndex, newIndex) {
export const events = {
start: ['touchstart', 'mousedown'],
move: ['touchmove', 'mousemove'],
end: ['touchend', 'mouseup']
end: ['touchend', 'touchcancel', 'mouseup']
};

export const vendorPrefix = (function () {
Expand Down

0 comments on commit e7c930e

Please sign in to comment.