[Webkit-unassigned] [Bug 232239] New: Viewport offset after soft keyboard dismiss on PWA on iPad

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 06:44:10 PDT 2021


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

            Bug ID: 232239
           Summary: Viewport offset after soft keyboard dismiss on PWA on
                    iPad
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: KEn at ims.ch
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211025/dc07bd83/attachment.htm>


More information about the webkit-unassigned mailing list