Describe the bug
When canDropForeignDragObject returns false, the drag operation stops correctly, but the DragLine remains visible. Additionally, tree.getDragLineStyle() still returns style data, resulting in inconsistent visual feedback.
To Reproduce
- Clone or open this repo
- Drag the "Drag me into the tree!" box onto the tree
- canDropForeignDragObject returns false
- The drag line still appears and doesn't disappear
Expected behavior
The DragLine should not be rendered when the drop is not allowed, and getDragLineStyle() should return null or no style.
Screenshots
