What platform were you using when you found the bug?
any platform
Live code example
No response
Describe the Bug
Followup from xyflow/xyflow#5211 (comment)
In some situations like copying, duplicating, or other manual node editing during dragging, the node's dragging property might get out of sync, which leads to unexpected selection behavior. @ha11owlemon found the right solution for this was manually setting dragging to false when the dragging stop (ref).
We could probably add a note on the onNodeDragStop docs mentioning this so user facing this issue easily understand how to fix the selection behavior.
What platform were you using when you found the bug?
any platform
Live code example
No response
Describe the Bug
Followup from xyflow/xyflow#5211 (comment)
In some situations like copying, duplicating, or other manual node editing during dragging, the node's
draggingproperty might get out of sync, which leads to unexpected selection behavior. @ha11owlemon found the right solution for this was manually settingdraggingtofalsewhen the dragging stop (ref).We could probably add a note on the
onNodeDragStop docsmentioning this so user facing this issue easily understand how to fix the selection behavior.