Closed Liu233w closed 1 year ago
Thank you for raising this 🙏
Your suggestion broke the draggability even when draggable
was enabled. Based on your feedback I added the dblclick
event to the checks though and published as part of https://github.com/bkrem/react-d3-tree/releases/tag/v3.5.2
Need to close this unfortunately but cknowledged you in the release notes :)
Thanks :)
If we double click and drag the canvas, there will be an event that does not meet the condition and the function does not return before the attr call, so the tree is re-positioned even if draggable is false.