[Webkit-unassigned] [Bug 218465] New: iOS VisualViewport scroll events fire only when scrolling finishes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 2 15:53:54 PST 2020


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

            Bug ID: 218465
           Summary: iOS VisualViewport scroll events fire only when
                    scrolling finishes
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dvpdiner2 at gmail.com

WKWebView on iOS dispatches scroll events on the scrollingElement as it is scrolling, which allow animations and element positioning to be updated as the scroll happens.

The visualViewport seems to only dispatch scroll events when the scrolling has come to a stop, even when using passive event listeners. When using visualViewport to adjust elements on screen to avoid the iOS keyboard overlay, this results in janky updates to element position.

-- 
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/20201102/f42af911/attachment.htm>


More information about the webkit-unassigned mailing list