Skip to content

Commit

Permalink
Fix click events not working with touch events
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirF27 committed May 12, 2019
1 parent 0f1beab commit e5d1ca2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/Canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,6 @@ Canvas.prototype = {
},

dispatchNewTouchEvent: function(event, name, detail) {
event.preventDefault();
event.stopPropagation();

detail = detail || {};

var touches = [].slice.call(event.changedTouches);
Expand Down

0 comments on commit e5d1ca2

Please sign in to comment.