-
Notifications
You must be signed in to change notification settings - Fork 7
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
Suggestion: support directories on drag and drop #60
Comments
Hi there, I just released the latest version for Angular v17 which includes support for dropping folders by default. |
Hello there, I just tested it, it works great! Thank you very much. One detail i noticed is that in Chrome if you drop a folder containing more than 100 files, it just gets 100 files and not the whole content. For that issue i wrote the It is arguably not the prettiest solution, but it does its job (maybe you are able to find a better one):
Thank you in advance, |
Hi @michaelmdr, thanks for your feedback. As stated in MDN, the In my opinion, we should use an optional |
Hey @hackingharold, for your interest, we develop a data asset managament (DAM) software. Some of our customers need to upload large amounts of files at once. Hence the ability to drag and drop files from folders breaking the 100 files limit makes things easy. The optional |
Hi @michaelmdr, I just released v17.2.0 which skips the limit by default. After thinking about it, I decided not to create a property for this. We're basically creating a consistent cross-browser experience by ignoring Chrome's behavior here. |
Hello @hackingharold, Thank you for your efforts to ensure our requirements! |
Hi guys. Would be great to include file relative path information (now it is always ''). The reason this might be needed - if we are going to recreate a directory structure on server. So I had to use this (probably not the best) method for that:
|
Hi @alexandis, the missing In my opinion as a library maintainer, I want to stay as close to the HTML standard as possible. Other libraries solve this by returning custom |
Hi @hackingharold. Drag-n-drop behavior was a client requirement (as usual it happens :-D). All in all, I am stick to my own custom handler for
|
Yes, you cannot select multiple directories from the file picker. The To work around the file limit, I've written the |
Hello Harold, I really appreciate your great work!
I would like to implement the ability to extract files from folders and subfolders using drag and drop.
If you don't mind, I'll start a pull request in the near future.
Greetings from Bavaria!
The text was updated successfully, but these errors were encountered: