https://stackblitz.com/edit/react-tcimgg-lpxvkv?file=index.js
Just drag the draggable-child to non-draggable-child. You will see, that even allowDrop is true, the non-draggable-child does not allow drop in itself.
Non draggable elements must not prevent dropping, as this logic is related to allowDrop function
If draggble returns false, the allowDrop is somehow ignored and the element can never have a child to be dropped in it
Environment | Info |
---|---|
antd | 4.15.4 |
React | 17.0.2 |
System | Windows 10 19042.985 |
Browser | Chrome 90.0.4430.212 (Latest) |
Documentation states: "draggable Specifies whether this Tree or the node is draggable (IE > 8)", and nothing about dropping, so why it's prohibited?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too