Skip to content

Commit

Permalink
Don't use passive touchend event
Browse files Browse the repository at this point in the history
See #550
  • Loading branch information
chrisn committed Oct 5, 2024
1 parent e65c334 commit 3cf46b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mouse-drag-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ MouseDragHandler.prototype._mouseDown = function(event) {
window.addEventListener('mousemove', this._mouseMove, { capture: false, passive: true });
window.addEventListener('touchmove', this._mouseMove, { capture: false, passive: true });
window.addEventListener('mouseup', this._mouseUp, { capture: false, passive: true });
window.addEventListener('touchend', this._mouseUp, { capture: false, passive: true });
window.addEventListener('touchend', this._mouseUp, { capture: false /* , passive: true */ });
window.addEventListener('blur', this._mouseUp, { capture: false, passive: true });
};

Expand Down

0 comments on commit 3cf46b6

Please sign in to comment.