[Webkit-unassigned] [Bug 245722] Smooth scroll in viewport with scroll-snap fails on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 25 17:03:36 PST 2023


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

--- Comment #8 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
In working and non-working cases we call PageClientImpl::requestScroll() which starts the animated scroll. But in the bad case, when the Safari UI is collapsed, we immediately call `_updateVisibleContentRects()` to push an update to the web process, and this runs code that re-snaps to the snap point closest to the current scroll position, which kills the animation.

We need to re-think when `_updateVisibleContentRects()` should trigger snapping.

-- 
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/20230126/679c641d/attachment.htm>


More information about the webkit-unassigned mailing list