minop1205 / react-dnd-treeview

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

PlaceholderRender height over 20px breaks dragging functionality #217

Open stanislav-sidorov-empeek opened 11 months ago

stanislav-sidorov-empeek commented 11 months ago

Describe the bug PlaceholderRender height over 20px breaks dragging functionality after dropping outside of the treeview

To Reproduce Steps to reproduce the behavior:

  1. Go to 'sandbox example'
  2. Repeat steps like on attached GIF
  3. Drag file to top, find placeholder and drop outside of it

Expected behavior Functionality keeps working after unsuccessful/canceled drag and drop

Screenshots screencast 2023-12-12 09-38-39

Desktop (please complete the following information):