<?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>228907</bug_id>
          
          <creation_ts>2021-08-08 18:54:59 -0700</creation_ts>
          <short_desc>Scroll freezes at top or bottom after tab or menu changes</short_desc>
          <delta_ts>2021-08-15 18:55:17 -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>Scrolling</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=185614</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lex">lex.satre</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1782814</commentid>
    <comment_count>0</comment_count>
    <who name="Lex">lex.satre</who>
    <bug_when>2021-08-08 18:54:59 -0700</bug_when>
    <thetext>Scroll views freeze after repeated over-scrolling OR tab change OR menu selection. Bug is intermittent but is reproducable after a number of attempts.

Appears to only occur when scroll is at top or bottom. 

Repro: load following link, load a public template and then switch between tabs and menu and then try scrolling. If freeze does not occur try again multiple times. Eventually scroll will freeze. Seems more prevalent once the app has been saved to home-screen.

https://6110895018e9b10008b5cf4c--robowrite.netlify.app/

See other issues which I believe are linked with this. People are understandably confusing it for a framework bug.

https://stackoverflow.com/questions/39692337/div-scrolling-freezes-sometimes-if-i-use-webkit-overflow-scrolling
https://github.com/ionic-team/ionic-framework/issues/22205
https://github.com/ionic-team/ionic-framework/issues/13343
https://stackoverflow.com/questions/25596960/issues-with-touch-scroll-on-ios-when-focusing-inputs
https://codesandbox.io/s/l212qz0o99?file=/src/index.js&amp;resolutionWidth=320&amp;resolutionHeight=675
https://github.com/ionic-team/ionic-framework/issues/10454
https://github.com/judgewest2000/IonicPwa/blob/master/src/pages/scroll-content/scroll-content.ts
https://bugs.webkit.org/show_bug.cgi?id=185614</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1782831</commentid>
    <comment_count>1</comment_count>
    <who name="Lex">lex.satre</who>
    <bug_when>2021-08-09 00:04:16 -0700</bug_when>
    <thetext>https://github.com/lazd/iNoBounce/issues/63</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1782859</commentid>
    <comment_count>2</comment_count>
    <who name="Lex">lex.satre</who>
    <bug_when>2021-08-09 03:08:26 -0700</bug_when>
    <thetext>The only consistent fix out of the many out there is setting html element (not body but only html) position to fixed. However, this is un-useable because it results in the entire webview to be pushed up by a distance of approx safe-area-inset-bottom. This area seems to be impervious to any other css changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1782932</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-08-09 12:10:37 -0700</bug_when>
    <thetext>https://6110895018e9b10008b5cf4c--robowrite.netlify.app/ doesn&apos;t seem to load the scrollable content for me.

If you pause for a few seconds and try to scroll again, does it work? I suspect this might be related to an underlying UIKit bug where when an enclosing scroll view is rubber-banding, the inner scroll view is not scrollable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1783123</commentid>
    <comment_count>4</comment_count>
    <who name="Lex">lex.satre</who>
    <bug_when>2021-08-10 00:44:02 -0700</bug_when>
    <thetext>Hi Simon, indeed it seems to clear after a few seconds but with that caveat that the user then attempts to scroll away from the edge. Otherwise it stays frozen. 

It seems in my case the bug is limited to home-screen installs. When using the safari or capacitor ios app I can&apos;t find the issue happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1783745</commentid>
    <comment_count>5</comment_count>
    <who name="Lex">lex.satre</who>
    <bug_when>2021-08-11 23:22:44 -0700</bug_when>
    <thetext>If you load the public template from menu called Send Image that should have enough content to be scrollable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784417</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-15 18:55:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/81963116&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>