Describe the bug
onSelectNode appears to be called not only when a node is selected, but even clicking on the background (or any mouseUp action).
Expected behavior
onSelectNode only called when a node is clicked
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox
Additional context
This CodeSandbox has the same issue