diff --git a/js/term/screen.js b/js/term/screen.js index 76c12c4..e71a7e3 100644 --- a/js/term/screen.js +++ b/js/term/screen.js @@ -164,7 +164,7 @@ module.exports = class TermScreen extends EventEmitter { touchPosition = getTouchPositionOffset(e.touches[0]) touchDidMove = false touchDownTime = Date.now() - }) + }, { passive: true }) this.canvas.addEventListener('touchmove', e => { touchPosition = getTouchPositionOffset(e.touches[0])