Skip to content

Commit

Permalink
Interaction: set events.passive to false on iOS
Browse files Browse the repository at this point in the history
Re: #631, 561
  • Loading branch information
taye committed May 15, 2018
1 parent 5c3d54f commit 0c02a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ function onDocSignal ({ doc }, signalName) {
}

for (const eventType in docEvents) {
eventMethod(doc, eventType, docEvents[eventType]);
eventMethod(doc, eventType, docEvents[eventType], browser.isIOS ? { passive: false } : undefined);
}
}

Expand Down

0 comments on commit 0c02a85

Please sign in to comment.