diff --git a/src/onTap.js b/src/onTap.js index 67b27fc..06ed573 100644 --- a/src/onTap.js +++ b/src/onTap.js @@ -139,7 +139,10 @@ export default class OnTap { }); if (!this.state.moving) { - if (this.settings.desktopPress && event.duration >= this.settings.pressThreshold) { + const rightClick = event.which && event.which !== 1; + const press = this.settings.desktopPress && event.duration >= this.settings.pressThreshold; + + if (rightClick || press) { this.settings.press(event); } else {