[Webkit-unassigned] [Bug 196330] Overlays on instagram.com are shifted if you click on a photo after scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 27 17:20:55 PDT 2019


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

--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
The site basically does:

document.body.style.top = -window.scrollY + 'px';
document.body.style.position = "fixed";
// show fixed overlay

so we get a scrolling tree commit that has a new layout viewport (goes from origin 0,scrollTop to 0,0) and a new scrollPosition.

In this case, we have to clobber the scrolling thread's notion of scroll position because the document suddenly became non-scrollable, so this has to act like a requestedScrollPosition change.

-- 
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/20190328/853fc1f1/attachment.html>


More information about the webkit-unassigned mailing list