Describe the bug
When panning the graph, if you release the mouse where a node was when you started panning, it'll trigger the onNodeClick callback even though the node is not there anymore.
To Reproduce
- Click anywhere to start panning
- Drag and release where a node was before you started panning
onNodeClick should fire
Expected behavior
onNodeClick should only fire if you actually click on the node
Screenshots
https://github.com/user-attachments/assets/49139203-1e9a-450a-b419-fec05a0648e8
Desktop (please complete the following information):
- OS: macOS
- Browser : Arc (chromium)
- Version: Version 1.85.1 (59724) / Chromium Engine Version 134.0.6998.45
Additional context
We are using a setup with text labels as nodes, extremely close to the example in the documentation. Therefore we do have a nodePointerAreaPaint callback.