From 3b84149f38378514c2110f0174a9ebf8d9fbcc85 Mon Sep 17 00:00:00 2001 From: jpellizzari Date: Tue, 8 Nov 2016 12:56:58 -0800 Subject: [PATCH] Fixed details panel not closing on canvas click --- client/app/scripts/charts/nodes-chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/charts/nodes-chart.js b/client/app/scripts/charts/nodes-chart.js index 4a37f2af5b..ed20156a0b 100644 --- a/client/app/scripts/charts/nodes-chart.js +++ b/client/app/scripts/charts/nodes-chart.js @@ -236,7 +236,7 @@ class NodesChart extends React.Component { } handleMouseClick() { - if (!this.isZooming) { + if (!this.isZooming || this.props.selectedNodeId) { this.props.clickBackground(); } else { this.isZooming = false;