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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 31 19:24:12 PDT 2022


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

Peter Wiebe <pjwiebe at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pjwiebe at gmail.com

--- Comment #6 from Peter Wiebe <pjwiebe at gmail.com> ---
If you compare the values of window.scrollY and window.visualViewport.offsetTop in an window.onscroll event handler the offsetTop values typically do not update until after the scroll motion completes, whereas the window.scrollY values update continuously throughout the scrolling motion. 

This makes the scroll event handler much less useful and work in an unexpected way.

-- 
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/20220401/f763dee3/attachment.htm>


More information about the webkit-unassigned mailing list