-
Notifications
You must be signed in to change notification settings - Fork 50
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
Enable choosing Directory in file uploader #291
Comments
This is an electron bug. Tracked here: electron/electron#749 |
As it's blocked. I'd opt to remove from this project. @bochaco thoughts? |
yes, I guess we shouldn't include it in our project for now since its resolution date doesn't depend on us. |
Providing further evidence for the non viability of a workaround: However, the workaround doesn't function for dynamic webview contents and even makes webviews buggy: master...hunterlester:dir-example |
Can you point to a file in electronjs, in which the file or directory is selected? I need to rebuild the electron in order for webkitdirectory to work in both Chrome and NW.js. Recursively get FileList, in name the name of the file, in webkitRelativePath the relative path to the file from the selected directory |
Using an input like so:
<input type="file" webkitdirectory directory multiple>
When choosing a directory, Peruse only shows the directory name in
![peruse_directory_input](https://user-images.githubusercontent.com/10050403/35813489-9740687e-0a48-11e8-80ce-c06ca509f86f.PNG)
![peruse_file_list](https://user-images.githubusercontent.com/10050403/35813506-a25903ce-0a48-11e8-97ca-ead62ebf71cd.PNG)
FileList
:Whereas if I open the same running web app in Google Chrome, I see the expected output:
![google_chrome_directory_input](https://user-images.githubusercontent.com/10050403/35813557-c7af8364-0a48-11e8-802c-bdfcfba50fae.PNG)
![google_chrome_file_list](https://user-images.githubusercontent.com/10050403/35813561-caa1260e-0a48-11e8-8035-3ee0c1336c2c.PNG)
The text was updated successfully, but these errors were encountered: