Unable to parse files in directory upon change event from <input type="file" webkitdirectory>, since update to 96.0.4693.20
-
szfzafa last edited by szfzafa
I've been using an extension named LocalGalleryViewer(https://chrome.google.com/webstore/detail/localgalleryviewerextensi/opheklanmaieaeneebdohfpbjkhcgilk) which loads image files from a local directory and show in a gallery slideshow. But I found it not working since Opera update to 96.0.4693.20.
The extension uses an input element
<input type="file" multiple="" webkitdirectory="" id="fileURL" value="choose directory">
with event listener on change event and let the user to choose directory and parse all image files within.Previously, in Opera 95.0.4635.84 or earlier versions, a prompt will appear to confirm whether to upload multiple files to this site or not, and then the FileList e.target.files will always contain all files recursively in the chosen directory. Same goes for Chromium or Chrome either in corresponding versions or latest verions.
However, when it comes to Opera 96.0.4693.20 or later versions, there will be no prompt, and the FileList e.target.files will contain one and only file - the chosen directory itself.
So what happened since Opera 96? I'm not reading any related changes in the changelog for 96. https://blogs.opera.com/desktop/changelog-for-96/
I'm also reporting this as a bug in the official Jira: https://opera.atlassian.net/servicedesk/customer/portal/9/BS-61513
Looking forward to your earlier reply. -
szfzafa last edited by
The Automatic response said "Your request status has changed to Done."
Why was my issue closed? -
vabs last edited by
We are also facing the same issue. The multi-file upload works on all other browsers.
As the OP mentioned, in Opera it is only selecting the directory. -