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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 15 17:39:17 PDT 2019


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

--- Comment #7 from Xidorn Quan <xidorn-webkit at upsuper.org> ---
(In reply to Ryosuke Niwa from comment #5)
> 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.

Actually, this approach doesn't seem to work either.

As shown in this testcase, I do move the element immediately when it's focused, and it just has a transition to do so smoothly.

Even if I remove the transition (so that the moving happens immediately in handler of focus event in any sense), the viewport still scroll.

-- 
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/20190716/b921f0ce/attachment.html>


More information about the webkit-unassigned mailing list