ngx-dropzone
ngx-dropzone copied to clipboard
NgxDropzoneChangeEvent DropEffect
There appears to be an issue related Outlook and Drop Events that if the DropEffect is 'move' then it will delete the email where if it is set to 'copy' it works as expected. This also appears to be a chromium issue.
I was wondering if there was a way to change the DropEffect of the NgxDropzoneChangeEvent during the (change) binding.
_onDragOver(event) {
if (this.disabled) {
return;
}
event.dataTransfer.dropEffect = 'copy';
this.preventDefault(event);
this._isHovered = true;
}
when adding this to the dragOver event it fixes the problem
additionally adding my own (dropover) function binding on the ngx-dropzone element and setting it to copy has worked.