-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dropping file in Chrome sets empty type to file object. (works well in Firefox) #314
Comments
what version of the plugin and what file type? |
I was analysing the issue and got to know that the culprit code is in function "extractFiles". where we do check for "evt.dataTransfer.items". Chrome has this property with type being empty. I am not sure on these checks. please put in some thoughts. |
it's 1.6.5 and i tried with CSV, even you can check here as well http://angular-file-upload.appspot.com/ I just checked this issue is only happening with file type csv. |
This issue was fixed before #273 but since version 1.6.5 after fixing an issue with dropping multiple files including directories the issue is reintroduced For now use the versions prior to 1.6.5 and wait for the next release which will fix this issue. |
thanks |
Hi, |
Hi danialfarid my file is showing empty and not upload the image.
i have get data in file parameter but fd is showing blank and not post the image how to solve it . |
Been a year - I'm noticing this issue on types like .xlsx and .psd. Is this fixed? |
Hi @danialfarid, |
When user drops file in ng-file-drop area, it doesn't set type to file object. which is important property to identify type of file going to be uploaded.
The text was updated successfully, but these errors were encountered: