[Webkit-unassigned] [Bug 247410] New: iPadOS window.visualViewport.height incorrect when using external keyboard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 2 23:19:53 PDT 2022


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

            Bug ID: 247410
           Summary: iPadOS window.visualViewport.height incorrect when
                    using external keyboard
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at tylerleonhardt.com

Steps to reproduce:

1. Have an iPad with a Magic Keyboard or other external keyboard so that the soft keyboard doesn't show up
2. Go to the repro (I stole from another issue): https://matan-hershberg-nuance.github.io/ios15-beta-visualviewport-bug/
3. tap in and out of the inputbox switching from showing the auto-complete and not
4. minimize the autocomplete too

Since the autocomplete UX is now "floating" instead of an entire bar across the screen, I expect that the visualViewport Height wouldn't change upon showing the autocomplete... but it does.

On my iPad Pro I can see the VisualViewport Height go from 727 when the input box isn't selected:
https://user-images.githubusercontent.com/2644648/199658322-ff1d64b6-09d6-497d-a7ee-abfd08980145.png

to 658 when the input box is selected:
https://user-images.githubusercontent.com/2644648/199658208-13cb1992-c5cc-4e3f-9aac-b4452e896b97.png

-- 
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/20221103/ea4b898f/attachment-0001.htm>


More information about the webkit-unassigned mailing list