api.HTMLInputElement.showPicker - Safari data is incorrect
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The affected entry is identified as api.HTMLInputElement.showPicker; compare its current Safari and iOS data with WebKit bug 261703 and the supplied demo. Update the compatibility data to represent the documented iOS and desktop limitations and Safari 17+ picker support, then verify the MDN page report no longer shows the incorrect support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100