WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
181214
[iOS 11 only] Setting document.body.scrollTop when virtual keyboard is on always results in 0.
https://bugs.webkit.org/show_bug.cgi?id=181214
Summary
[iOS 11 only] Setting document.body.scrollTop when virtual keyboard is on alw...
Matthew Zeng
Reported
2018-01-02 11:03:53 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug