react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

Disable dragging on a node in editing status

Open zheng-wang opened this issue 7 months ago • 1 comments

Currently a tree node is still draggable when it is in editing status. This can be seen even in the https://react-arborist.netlify.app/gmail demo. After entering editing status of a node, dragging the input box will drag the node to somewhere else.

Is it possible to disable dragging when the node is in editing status? Just like what we can see in VS Code Explorer pane.

zheng-wang avatar Nov 29 '23 12:11 zheng-wang

Yeah that seems reasonable. Would you like to give it shot in a PR?

jameskerr avatar Dec 12 '23 17:12 jameskerr