minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlaceholderRender height over 20px breaks dragging functionality

stanislav-sidorov-empeek opened this issue · comments

commented

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):

  • OS: MacOS
  • Browser Chrome
  • Version Version 119.0.6045.199 (Official Build) (arm64)