Skip to content

Commit

Permalink
Merge pull request #92 from nathanbedford/feature/add-passive-option-…
Browse files Browse the repository at this point in the history
…to-event-remove

Added 'passive' option to removeEventListener call (to match addEventListener call). Fixes bug in iOS 9
  • Loading branch information
xStrom authored Mar 10, 2017
2 parents 85f7aeb + a210a9d commit 8c02b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios-drag-drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function _exposeIosHtml5DragDropShim(config) {
el.addEventListener(event, handler, {passive:false});
return {
off: function() {
return el.removeEventListener(event, handler);
return el.removeEventListener(event, handler, {passive:false});
}
};
}
Expand Down

0 comments on commit 8c02b68

Please sign in to comment.