mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Merge pull request #1998 from weaveworks/1997-canvas-click
Fix details panel not closing on canvas click
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user