How can I disable the DnD drop based on the node being dragged? #2174
Unanswered
OliverWales
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom node type that allows you to nest children in collapsible sections. For now, I want to disable DnD between different parents. So I want to disable the drop ref if the node being dragged is not a sibling of the node being dragged over. Any ideas how I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions