<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>189187</bug_id>
          
          <creation_ts>2018-08-31 01:31:44 -0700</creation_ts>
          <short_desc>Scroll middle/bottom of the page when reloading (MobileSafari)</short_desc>
          <delta_ts>2018-09-03 06:44:01 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>Safari 11</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ozmor">toutoune_sk8</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1455610</commentid>
    <comment_count>0</comment_count>
    <who name="Ozmor">toutoune_sk8</who>
    <bug_when>2018-08-31 01:31:44 -0700</bug_when>
    <thetext>When i&apos;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&apos;s because it&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1456162</commentid>
    <comment_count>1</comment_count>
    <who name="Ozmor">toutoune_sk8</who>
    <bug_when>2018-09-03 06:44:01 -0700</bug_when>
    <thetext>Fixed in https://stackoverflow.com/questions/52099689/mobile-safari-ios-will-scroll-bottom-page-automatically-when-reloading-page</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>