react-arborist
react-arborist copied to clipboard
onMove receives inconsistent parentId and index
trafficstars
Inconsistent index
Cursor would imply new index should be 1 but is reported as 2
Inconsistent parentId
Cursor and node.willReceiveDrop indicates that a drop will NOT happen, yet parentId is that of the Box rather than Container
This behaviour only happens after first moving Slider into a Box, then out again. Somehow that Slider continues to receive the Box as the parent when being moved. It should also be noted that those boxes are internal nodes in all cases, i.e. children is always an array