Bug 232239
| Summary: | Viewport offset after soft keyboard dismiss on PWA on iPad | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | KEn |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Critical | CC: | bfulgham, mplutka, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | Other | ||
KEn
There is an unexpected and extremly unpleasant behavior of the WebKit Web View on iPad Pro (9.7 inch) OS 15.0.2 we experienced in one of our Customers PWA. Unfortunately the Bug only appears when the App is installed on the Homescreen but not in any of the available Browsers (which all use WebKit engine on iPad OS) like Chrome or Firefox.
I created a demo repository in order to demonstrate the case in detail: https://github.com/engek1/keyboard-bug
Steps to reproduce the Problem:
1. open the example site (https://engek1.github.io/keyboard-bug/index.html) in Safari on your iPad with iOS 15
2. add the Page to the Homescreen (PWA) and open it
3. type anything into one of the Input fields on the lower part of the page (e.g. into Nr. 7)
4. then close the Soft Keyboard on your iPad with the 'close Keyboard' Button
5. try to click (without scrolling or anything) into Input field Nr. 1 for example
6. Then it comes; instead of Input Nr. 1, any of the Input Fields underneath will gain focus, for example Nr. 2 or 3 (not constantly the same)
I guess the View Port is shifted somehow when the soft keyboard dismiss. The effect is that the wrong Elements gain the User Input events.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/84623646>
Brent Fulgham
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.
This issue should be fixed now in iOS 15.2.
mplutka
This issue is not fixed in iPadOS 16.1