WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189187
Scroll middle/bottom of the page when reloading (MobileSafari)
https://bugs.webkit.org/show_bug.cgi?id=189187
Summary
Scroll middle/bottom of the page when reloading (MobileSafari)
Ozmor
Reported
2018-08-31 01:31:44 PDT
When i'm using an iPhone as soon as I reloading page, safari will scroll automatically to the middle/bottom of the page. The reason I think it's because it's innerHeight value is not correct. it returns 0, but for safari 0 is the middle/bottom of page. I need to timeout approximately 800ms to let safari the time to return the correct innerHeight value
Attachments
Add attachment
proposed patch, testcase, etc.
Ozmor
Comment 1
2018-09-03 06:44:01 PDT
Fixed in
https://stackoverflow.com/questions/52099689/mobile-safari-ios-will-scroll-bottom-page-automatically-when-reloading-page
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