Skip to content

Commit 9abf36a

Browse files
authored
Merge pull request #4231 from dan8f/master
[dragelement] Make touchmove event listener non passive
2 parents 4420593 + 568b26d commit 9abf36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dragelement/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ dragElement.init = function init(options) {
163163
if(options.dragmode !== false) {
164164
e.preventDefault();
165165
document.addEventListener('mousemove', onMove);
166-
document.addEventListener('touchmove', onMove);
166+
document.addEventListener('touchmove', onMove, {passive: false});
167167
}
168168

169169
return;

0 commit comments

Comments
 (0)