Bug? mouseEnter/Exit don't trigger when the component is a DragAndDropTarget

I have a component that is a DragAndDropTarget, whenever something is being dragged over it the mouseEnter and mouseExit methods are never called, is this expected behaviour?

Do you get itemDragEnter() and itemDragExit() instead?
I guess DragAndDropTarget will snatch the mouseEnter and mouseExit, but haven’t checked.

Would be debatable if that is the correct behaviour though, I think it makes sense to be able to distinguish if you drag or normally enter the component.

1 Like

Yes, it was exactly this, thank you @daniel :slight_smile: