Closed AnsonH closed 1 year ago
When I'm dragging a new stage on top of an existing stage node, the drop indicator disappears whenever the mouse enters the stage label box.
https://user-images.githubusercontent.com/57580593/202088733-f6cff220-f310-40d2-b30f-04968811b54e.mp4
The reason is that dragleave event will be fired at the root of StageNode when we hover over the child element of it (the <span> that holds the stage label).
dragleave
StageNode
<span>
Solution: https://stackoverflow.com/a/18582960/11067496
Description
When I'm dragging a new stage on top of an existing stage node, the drop indicator disappears whenever the mouse enters the stage label box.
https://user-images.githubusercontent.com/57580593/202088733-f6cff220-f310-40d2-b30f-04968811b54e.mp4