diff --git a/src/dispatcher.js b/src/dispatcher.js index 04da312a..5a4deba7 100644 --- a/src/dispatcher.js +++ b/src/dispatcher.js @@ -223,7 +223,9 @@ inEvent.relatedTarget = null; } var e = new PointerEvent(inType, inEvent); - e.preventDefault = inEvent.preventDefault; + if (inEvent.preventDefault) { + e.preventDefault = inEvent.preventDefault; + } this.targets.set(e, this.targets.get(inEvent) || inEvent.target); return e; },