From 78ce57a03a35bba53b615b092c93676e38316d1b Mon Sep 17 00:00:00 2001 From: az-galvarez <51442055+az-galvarez@users.noreply.github.com> Date: Mon, 17 Aug 2020 22:25:41 +0800 Subject: [PATCH] Fix mousedown / up events not working - https://github.com/almende/vis/issues/4233 --- lib/module/hammer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/module/hammer.js b/lib/module/hammer.js index 7e5e3cae3..261b9c9d3 100644 --- a/lib/module/hammer.js +++ b/lib/module/hammer.js @@ -27,7 +27,7 @@ if (typeof window !== 'undefined') { var propagating = require('propagating-hammerjs'); var Hammer = window['Hammer'] || require('hammerjs'); module.exports = propagating(Hammer, { - preventDefault: 'mouse' + // preventDefault: 'mouse' }); } else {