Bug 189187 - Scroll middle/bottom of the page when reloading (MobileSafari)
Summary: Scroll middle/bottom of the page when reloading (MobileSafari)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 11
Hardware: iPhone / iPad iOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-31 01:31 PDT by Ozmor
Modified: 2018-09-03 06:44 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ozmor 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