[Webkit-unassigned] [Bug 181214] New: [iOS 11 only] Setting document.body.scrollTop when virtual keyboard is on always results in 0.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 2 11:03:53 PST 2018


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

            Bug ID: 181214
           Summary: [iOS 11 only] Setting document.body.scrollTop when
                    virtual keyboard is on always results in 0.
           Product: WebKit
           Version: Safari 11
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zeostudio at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

When I’m trying to set document.body.scrollTop = document.body.scrollHeight when keyboard is on, it always results in body.scrollTop being set to 0. 
It turns out body.scrollTop will be set to 0 when I try to change it when keyboard is on, regardless of the value I’m giving.
This bug is only reproducible in iOS 11, both on Safari and Chrome. iOS 10 doesn’t have the problem.

-- 
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/20180102/ee0e0ad0/attachment.html>


More information about the webkit-unassigned mailing list