-
Notifications
You must be signed in to change notification settings - Fork 10
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
How to add FileSystemEntry to DataTransferItemList ? #29
Comments
Given the exploratory work going on around more modern file and datatransfer APIs, not going to rush to add something here. |
Of course, just wanted to make sure the use case was captured. |
So far as I know. IIRC, Microsoft and Mozilla were pushing on it, but ended up shipping an API compatible with Chrome's instead. (Which prompted me to write this to have the behavior documented.) |
Is the API compatible with Chrome capable of obtaining the files AND directories selected in the standard File Picker dialog? |
As noted over in #15 and https://wicg.github.io/entries-api/#issue-4cc238bb, in Chrome, Definitely not ideal. But also not exactly on topic for this issue. |
There doesn't seem to be a way to add
FileSystemEntry
objects to aDataTransferItemList
, preventing creating drag (and clipboard) events containing directories.This is currently preventing Chrome OS to implement drag and drop of directories since the Files app uses existing Web APIs. See https://crbug.com/937585
The text was updated successfully, but these errors were encountered: