vue-file-agent icon indicating copy to clipboard operation
vue-file-agent copied to clipboard

Support dragging from other websites

Open jsodeman opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. If you drag and drop a file (an image for example) from another website into VFA nothing happens.

Describe the solution you'd like Dragging a file in VFA from another website behaves as if the file was dragged from the OS.

Describe alternatives you've considered None

Additional context From some StackOverflow research it looks like a drop event handler can use e.originalEvent.dataTransfer to access the data being dragged. For example this post https://stackoverflow.com/a/11214243/186593

jsodeman avatar Jan 20 '21 15:01 jsodeman

Interesting. Will consider for v2

safrazik avatar Apr 28 '21 15:04 safrazik