vue-upload-component
vue-upload-component copied to clipboard
Why is dropActive true outside specified drop element?
In the following code:
https://github.com/lian-yue/vue-upload-component/blob/b5abe3054241efd80bc5ce2dd536033d522f64ce/src/FileUpload.vue#L1522-L1528
Why is the component listening for dragenter on the entire document? If the application wants to use the dropActive property to animate the component, then it seems it should only be setting dropActive = true when it's inside the drop element.
I also don't understand. I hope there is a prop that can be set.