aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-23 17:01:11 -0400
committerbob <bcz@cs.brown.edu>2019-04-23 17:01:11 -0400
commitd3a0ed3292a3ca83f83d6f75e50bde494b2e1d47 (patch)
tree6a94b14d6bd31d7430676d2994a721bd09a9b1b1 /src/client/views/nodes/DocumentView.tsx
parenteae9c2795ef746cdd11a344e61519b48efd63c46 (diff)
more adjustments to event handling,
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index efa291c0f..6784ac310 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -170,6 +170,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
document.addEventListener("pointermove", this.onPointerMove);
document.removeEventListener("pointerup", this.onPointerUp);
document.addEventListener("pointerup", this.onPointerUp);
+ e.preventDefault();
}
}
onPointerMove = (e: PointerEvent): void => {