Bug 189187
| Summary: | Scroll middle/bottom of the page when reloading (MobileSafari) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ozmor <toutoune_sk8> |
| Component: | Layout and Rendering | Assignee: | 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
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
Fixed in https://stackoverflow.com/questions/52099689/mobile-safari-ios-will-scroll-bottom-page-automatically-when-reloading-page