minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.
MIT License
530 stars 71 forks source link

Dragging problem #162

Closed EugeneLobski closed 1 year ago

EugeneLobski commented 1 year ago

Hi, I have a recurring bug. Sometimes, after dragging one item, the drag function is disabled. The cursor goes into edit mode and does not allow you to grab any element. The bug disappears after collapsing-expanding the parent node.

Screenshots https://user-images.githubusercontent.com/784452/198878057-f6691c34-0fc8-45b3-8c63-0988850a3a9d.mp4

Desktop (please complete the following information):

minop1205 commented 1 year ago

@EugeneLobski Thanks for the report. What version of the package are you using? (e.g. @minoru/react-dnd-treeview@3.2.1)

If you are using an older version than the current latest version (v3.2.1), please check with the latest version.

minop1205 commented 1 year ago

Merged: https://github.com/minop1205/react-dnd-treeview/pull/163

minop1205 commented 1 year ago

@EugeneLobski I have fixed a code issue related to this problem. I have released a corrected package today as v3.2.2, so please install and try the latest version.

npm i @minoru/react-dnd-treeview@latest

If you still have problems, please reopen this Issue.

Thanks for your report.