23 / resumable.js

A JavaScript library for providing multiple simultaneous, stable, fault-tolerant and resumable/restartable uploads via the HTML5 File API.
MIT License
4.66k stars 611 forks source link

e.dataTransfer.effectAllowed in IE11 #532

Open Orcozzio opened 5 years ago

Orcozzio commented 5 years ago

Working on the frontend of my application I found a problem using IE11 the method onDragOverEnter has these two lines inside: dt.dropEffect = "copy"; dt.effectAllowed = "copy";

The 2nd line throws an error with IE11 (SCRIPT445: Invalid action for the object) and I worked around it just skipping it. All appear to working fine, but didn't had the time to dig into the issue in order to find a better solution than this: if( ! is_ie()) dt.effectAllowed = "copy";

NB: is_ie() is a custom function