Bug 261703
Summary: | showPicker() method of input doesn't work on iOS | ||
---|---|---|---|
Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
Component: | Forms | Assignee: | Luke Warlow <lwarlow> |
Status: | NEW | ||
Severity: | Normal | CC: | akeerthi, cdumez, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | iPhone / iPad | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=257308 https://bugs.webkit.org/show_bug.cgi?id=261701 |
||
Bug Depends on: | 268114, 257308, 261701 | ||
Bug Blocks: |
Luke Warlow
Visit https://demo.lukewarlow.dev/showPicker/
Click "color showPicker" button
Nothing will happen. It should load the colour input like it does on desktop safari.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Aditya Keerthi
I don't believe we've implemented `showPicker()` for any controls on iOS.
Though it would effectively be a wrapper around `focus()`, since native iOS pickers are tied to element focus.
Luke Warlow
showPicker works for the iOS file input, but otherwise yeah nothing else works. But only file and colour are currently implemented on desktop.
Radar WebKit Bug Importer
<rdar://problem/116018863>
Luke Warlow
See https://github.com/whatwg/html/issues/9757 for a HTML spec question regarding showPicker and focus
Luke Warlow
Blocking this on the date and datalist implementations. That way we can fix iOS all in one go.
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/18494