Closed
Description
Describe the bug
Can't drop items on an empty tree (without any items).
To Reproduce
Steps to reproduce the behavior:
- Setup an environment with two
<Tree />
s, one of which is empty - Try to drag items from the tree that's not empty to the one that is
- Item cannot be dropped anywhere
https://codesandbox.io/s/react-complex-tree-playground-forked-96pwzt
Expected behavior
A clear and concise description of what you expected to happen.
Dropping can happen on any part of the tree. Setting {min-,}{height,width}
can be used to set a size for an empty tree, the entire of which is a valid drop target.
Screenshots
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: 107.0.5304.107
Additional context
Metadata
Metadata
Assignees
Labels
No labels