We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9af93 commit d9c3d69Copy full SHA for d9c3d69
src/charts/CytoViz/CytoViz.js
@@ -102,9 +102,11 @@ export const CytoViz = (props) => {
102
// Add handling of double click events
103
cytoscapeRef.on('dbltap', 'node, edge', function (e) {
104
const selectedElement = e.target;
105
- setCurrentDrawerTab(0);
106
- setIsDrawerOpen(true);
107
- setCurrentElementDetails(getElementDetailsCallback(selectedElement));
+ if (selectedElement.selectable()) {
+ setCurrentDrawerTab(0);
+ setIsDrawerOpen(true);
108
+ setCurrentElementDetails(getElementDetailsCallback(selectedElement));
109
+ }
110
});
111
112
// Init bubblesets
0 commit comments