[Webkit-unassigned] [Bug 271051] New: Visual Viewport API returning inaccurate values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 04:01:30 PDT 2024


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

            Bug ID: 271051
           Summary: Visual Viewport API returning inaccurate values
           Product: WebKit
           Version: Safari 17
          Hardware: iPhone / iPad
                OS: iOS 17
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: schaepp at gmx.de

Created attachment 470381

  --> https://bugs.webkit.org/attachment.cgi?id=470381&action=review

QR-Code with URL to test case

WebKit has a bug where, when pinch-zooming, the result of `visualViewport.width` × `visualViewport.scale` does not correspond to the layout viewport's width, although it should. This leads to jumpy and wiggly fixed positioned element during pinch-zoom, when they rely on this calculation.


More explanation and a test case: https://schepp.dev/demos/webkit-visual-viewport-api-bug/

-- 
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/20240315/47e2172a/attachment.htm>


More information about the webkit-unassigned mailing list