projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.45k stars 1.16k forks source link

The react diagrams are not getting unselected when a node has a loose link. #945

Open Hkbm77 opened 2 years ago

Hkbm77 commented 2 years ago

Currently I am facing an issue with react-diagrams that whenever a node has a loose link the react diagrams are not getting unselected, and its causing a multiple select when clicking on other diagrams.

The issue is existing even when we are forcefully resetting the selected node. this.selectedNode = undefined;