It happens in each of the storybook examples when you try to drag parent node into child.


URGENT BUG
I have the same problem like @radulle and it looks like a general drag and drop bug in the library.
I can also reproduce the bug in your storybook.
Here is a description how to reproduce the bug in your storybook:
This is a screenshot of the Error in your Storybook with Chrome browser:

And this is a screenshot from the more explicit error in my running project:

I would appreciate if you could fix this bug as fast as possible, because at the current state we can't use the library for our project.
Thank you in advance for your efforts.
If you move a child (with children) to the valid zone of the nextParent and, without dropping, you move from that valid zone of the parent to a non-valid (red area) zone, you got this error

i think this bug is just reproducable , if the node you move has children
I also encountered the same problem
@radulle & @as882301 I found a workaround that could help you too.
First: I use the FileExplorerTheme that alone makes the bug a little better.
Second: I collapse the draged folder in the onDragStateChanged when the user starts dragging.
This way you should be able to work with the library without getting errors.
But I still hope for the developers to fix it!
Due to inactivity of the collective, I made my own fork and release here: https://github.com/lifejuggler/react-cat-tree do you mind if I apply the fix there? I am doing this so that you can just do a npm version update instead of using hot-fix branch
Got same issue... Hope it will be fixed soon.
Most helpful comment
URGENT BUG
I have the same problem like @radulle and it looks like a general drag and drop bug in the library.
I can also reproduce the bug in your storybook.
Here is a description how to reproduce the bug in your storybook:
This is a screenshot of the Error in your Storybook with Chrome browser:

And this is a screenshot from the more explicit error in my running project:

I would appreciate if you could fix this bug as fast as possible, because at the current state we can't use the library for our project.
Thank you in advance for your efforts.