Open
Description
Describe the bug
Using the default playground provided here - https://codesandbox.io/p/sandbox/react-complex-tree-playground-u5tjs
you can lose access to items by dragging folders under pages.
To Reproduce
Expand the "Desserts" option. Drag Cookie to the root level.
Drag anything under cookie
Expected behavior
Cookie is a leaf node - nothing should be draggable under it.
Screenshots
Screen.Recording.2025-04-05.at.9.45.18.PM.mov
Additional context
Can reproduce in playground directly
Metadata
Metadata
Assignees
Labels
No labels