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.showPicker - Safari data is incorrect #24011

Open
hartman opened this issue Jul 31, 2024 · 2 comments
Open

api.HTMLInputElement.showPicker - Safari data is incorrect #24011

hartman opened this issue Jul 31, 2024 · 2 comments
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@hartman
Copy link

hartman commented Jul 31, 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?

showPicker are listed as supported for Mobile and Desktop Safari 14+. This is however only partially correct.

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

This should come with a note that on iOS this method only works for the fileInput

On Desktop it works only for the fileInput, color picker, with date pickers and text pickers for datalist/email/number/text/tel/search/url only working in Safari 17+

Did you test this? If so, how?

This can be tested with https://demo.lukewarlow.dev/showPicker/

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

https://bugs.webkit.org/show_bug.cgi?id=261703

Do you have anything more you want to share?

No response

MDN URL

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

MDN metadata

MDN page report details
  • Query: api.HTMLInputElement.showPicker
  • Report started: 2024-07-31T15:51:10.763Z
@hartman
Copy link
Author

hartman commented Jul 31, 2024

Where I said Safari 14+ I meant Safari 16+.

@hartman
Copy link
Author

hartman commented Jul 31, 2024

According to https://caniuse.com/?search=showPicker Desktop got some of these newer pickers in 17.0 and others in 17.5

@queengooborg queengooborg added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 31, 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
Development

No branches or pull requests

2 participants