Bug 266598
Summary: | Keyboard does not lose focus from iframe's search input | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gabriel Dantas <gabrielnsdantas> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | akeerthi, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 17 |
Gabriel Dantas
When there is an iframe and inside of it there is a form containing an input with type 'search'. When this input is focused and some term is searched by using the 'search' key on the keyboard, the page will reload but the keyboard seems to never loses the focus from the input, it remains open with the search key enabled.
Here is an example: https://68rcq6.csb.app/
This page has a search bar outside the iframe, this search bar behaves as expected (keyboard closes when it is reloaded).
Inside the iframe, the wikipedia page is loaded, typing something in its search bar and using keyboard's search button will result in the described behavior.
Here is the full code of this page: https://codesandbox.io/p/sandbox/ios-keyboard-68rcq6
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/120132824>