This is the behavior I want:
- The user starts dragging a file from the file explorer
- When the file hovers over the browser window 3 drop zones appear
- When the user cancels the drag and drop or drops the file the drop zones disappear.
The problem I'm having is with #3.
The drop zones appear fine when using the dragenter on document but I can't get them to disappear again.
I've tried binding on dragend which never fires, dragleave which fires every time the the drag leaves a descendant so the drag area blinks.
Which event would be the correct one to listen to?