Bug 189187

Summary: Scroll middle/bottom of the page when reloading (MobileSafari)
Product: WebKit Reporter: Ozmor <toutoune_sk8>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, thorton, zalan
Priority: P2    
Version: Safari 11   
Hardware: iPhone / iPad   
OS: iOS 11   

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