diff options
| author | ab <abdullah_ahmed@brown.edu> | 2019-10-07 11:14:54 -0400 |
|---|---|---|
| committer | ab <abdullah_ahmed@brown.edu> | 2019-10-07 11:14:54 -0400 |
| commit | 2369406a3f6d6cf134d4d96c2a85872432a0c781 (patch) | |
| tree | 0f08e6cd362d76fa03d14feb40173b1bf7dc8068 /src/client/views/collections | |
| parent | 1c75007a5b12224009d0ccfd531e7406b0792760 (diff) | |
| parent | c4b4b8f8961bfd6deddd9da7e6a02990ad526c2f (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into recommender_system
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 3d01d954e..3ee069e4c 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -275,6 +275,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { @action onPointerDown = (e: React.PointerEvent): void => { + if (e.nativeEvent.cancelBubble) return; this._hitCluster = this.props.Document.useClusters ? this.pickCluster(this.getTransform().transformPoint(e.clientX, e.clientY)) !== -1 : false; if (e.button === 0 && !e.shiftKey && !e.altKey && (!this.isAnnotationOverlay || this.zoomScaling() !== 1) && this.props.active()) { document.removeEventListener("pointermove", this.onPointerMove); |
