igTree nodeDropped - incorrect data property for ui.draggable
jackofdiamond5 opened this issue · comments
Description
The data property of ui.draggable is incorrect because nodeDropped receives information about the node that was being dragged, which gets removed after being dropped. Thus, it tries to access the node that is now in the place of the previously dragged node. This does not occur with nodeDropping.
Steps to reproduce
- Open the JSFiddle
- Open the developer tools
- Try dragging Puff and place it after Fluff
Result
Fluff is logged.
Expected result
Puff is logged.