Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the detection of folders #41

Merged
merged 3 commits into from
Mar 11, 2020

Conversation

algm
Copy link

@algm algm commented Mar 10, 2020

I have improved the detection of folder drop.

I was having an issue when trying to drop folders from a Mac computer in which the folder was detected as a single file. I used the dataTransfer items to detect if the uploaded item is a folder as in this package: https://github.com/enyo/dropzone/blob/master/dist/dropzone.js#L1760

It seems to be working fine now, further testing would be good though.

@safrazik
Copy link
Owner

Thank you for the pull request. I will review and merge.

@safrazik safrazik merged commit aa03b27 into safrazik:master Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants