Skip to content
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

api.HTMLInputElement.webkitdirectory - Fix for #11982 reverted, but still unsupported on any mobile browser #24357

Closed
danielhjacobs opened this issue Sep 6, 2024 · 1 comment · Fixed by #24543
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@danielhjacobs
Copy link
Contributor

danielhjacobs commented Sep 6, 2024

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

#11982 was fixed by #21451 but the fix was reverted by #22050.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Firefox, Safari

What did you expect to see?

It's more accurate to say no mobile browsers support webkitdirectory, because https://caniuse.com/input-file-directory is unsupported on all of them.

Did you test this? If so, how?

Yeah, I tried using this option on a phone and there was no way to choose a folder to upload.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://bugs.webkit.org/show_bug.cgi?id=271705
https://issues.chromium.org/issues/40248532
https://bugzilla.mozilla.org/show_bug.cgi?id=1887878

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory

MDN metadata

MDN page report details
  • Query: api.HTMLInputElement.webkitdirectory
  • Report started: 2024-09-06T03:11:46.684Z
@danielhjacobs
Copy link
Contributor Author

danielhjacobs commented Sep 6, 2024

What might be confusing and I'm not sure if there's an easy way to reconcile is I think it's "supported" in that it is recognized by the browser but there is no code in the file chooser interface on mobile phones to allow selection of a directory when using it.

@danielhjacobs danielhjacobs changed the title api.HTMLInputElement.webkitdirectory - Fix for #11982 reverted api.HTMLInputElement.webkitdirectory - Fix for #11982 reverted, but still unsupported on any mobile browser Sep 6, 2024
@queengooborg queengooborg added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
3 participants
@queengooborg @danielhjacobs and others