[Webkit-unassigned] [Bug 199691] The whole viewport shifts down when resetting document scrollTop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 14 17:18:53 PDT 2019


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

--- Comment #6 from Xidorn Quan <xidorn-webkit at upsuper.org> ---
> The recommended approach is to move the element immediately when the input element is focused so the WebKit wouldn't try to scroll to it.

Thanks for the advice. It's not always trivial to do in practice, but I guess it's not impossible either.

I wonder, though, why would resetting the scrollTop makes the viewport shift down while we are just trying to stop it from shifting up?

-- 
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/20190715/076f5988/attachment.html>


More information about the webkit-unassigned mailing list