‘dragleave’ of parent element fires when dragging over children elements

If you don’t need to bind events to the child elements, you can always use the pointer-events property.

.child-elements {
  pointer-events: none;
}

Leave a Comment