Skip to content

Commit

Permalink
return preventDefault calls to touch event
Browse files Browse the repository at this point in the history
refs #130
- some browsers don't support touch-action: none, so we need to call
event.preventDefault anways to make sure it covers all browsers
  • Loading branch information
acburdine committed Feb 13, 2017
1 parent d6c8851 commit 49434c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon/mixins/sortable-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ export default Mixin.create({
return;
}

event.preventDefault();
event.stopPropagation();

this._startDragListener = event => this._startDrag(event);

this._cancelStartDragListener = () => {
Expand Down

0 comments on commit 49434c2

Please sign in to comment.