Skip to content

Commit

Permalink
regions plugin: fix Intervention message on mobile devices (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimshik100 committed Jun 15, 2021
1 parent ccb7cf7 commit e65efb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/regions/region.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ export class Region {
this.element.addEventListener('touchstart', onDown);

document.body.addEventListener('mousemove', onMove);
document.body.addEventListener('touchmove', onMove);
document.body.addEventListener('touchmove', onMove, {passive: false});

document.addEventListener('mouseup', onUp);
document.body.addEventListener('touchend', onUp);
Expand Down

0 comments on commit e65efb2

Please sign in to comment.