-
-
Notifications
You must be signed in to change notification settings - Fork 782
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
[BUG] Clicking the dropzone area won't open the choose file dialog on newest Chrome #1239
Comments
I can confirm I am seeing the same behavior, using Some more details: In
When it tries to fall back to the
Weirdly, some times
|
This is very likely a duplicate of #1127 |
Facing same issue: |
I can confirm that I got the same issue in chrome when the Not working on Example code:
If I remove the
|
can also confirm that this fails on latest chrome version. tested safari as well and that seems to be working fine. So must be something api related on google chrome's side. update: after snooping around i found an open pr that is being blocked from merging due to no one having reviewed it yet #1233 . I have no idea if this might be related to this bug popping up recently. Other than his pr, there's nothing chrome api related in pr's from what i can see. |
Hi, just trying to help who needs. I was having this same problem and I tried to change my react-dropzone version from 14.2.2 to 11.4.2 and other older versions, but it didn't work. I also tried to use the property: So I decided to solve this problem on my own. As I already knew that the problem was ocurring because of the property Example: async function uploadImage (currentFile) {
const acceptedFormats = ['image/jpeg', 'image/png', 'image/jpg']
const file = currentFile && currentFile[0]
const isFileValid = file && acceptedFormats.includes(file.type)
if (!isFileValid) { // return error }
// do upload
} |
Can confirm was having the same issue in Chrome |
Disabling |
I was having this same problem in Chrome 115.0.5790.114 (arm64) and |
Can confirm this issue, updating to |
Disabling |
Hello and thanks for the great hook. I came across this bug this morning and thought that it should be reported.
Describe the bug
When clicking the dropzone, the dialog for choosing files does not appear. This might be due to browser update. Yesterday the click to open dialog was working as expected.
To Reproduce
Expected behavior
A dialog for choosing a file should open. Works as expected in Firefox.
Desktop (please complete the following information):
11.4.2
I tried it also on the latest
14.2.2
, but same bug there.The text was updated successfully, but these errors were encountered: