[Webkit-unassigned] [Bug 199691] The whole viewport shifts down when resetting document scrollTop
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 12 16:21:55 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199691
--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
document.addEventListener('scroll', evt => {
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
});
This is a really bad pattern that we see commonly; if you rubber-band the content, it will also try to set the scrollTop back to 0.
--
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/20190712/8bdadc8a/attachment.html>
More information about the webkit-unassigned
mailing list