<?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>231878</bug_id>
          
          <creation_ts>2021-10-17 05:29:25 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 15): Safari toolbar shows &amp; hides when scrolling within a scrollable element</short_desc>
          <delta_ts>2022-02-10 10:32:28 -0800</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 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Fox">alexfoxy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>marcel.webkit</cc>
    
    <cc>michal</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1805379</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Fox">alexfoxy</who>
    <bug_when>2021-10-17 05:29:25 -0700</bug_when>
    <thetext>On iOS 15 scrolling within an element causes the window to resize / toolbar to disappear. On iOS 14 this would only happen when the body scrolled.

Video of bug: https://www.youtube.com/watch?v=F7cwYdw1rnc

Also see difference in behaviour in iOS14/15: 
iOS 15: https://i.stack.imgur.com/ctXmi.gif
iOS 14: https://i.stack.imgur.com/9QcC2.gif

I have tried various fixes e.g. overscroll-behavior to no avail.

Will this be fixed in the future?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1805450</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-17 18:05:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/84352772&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1805675</commentid>
    <comment_count>2</comment_count>
    <who name="Smoley">smoley</who>
    <bug_when>2021-10-18 12:27:54 -0700</bug_when>
    <thetext>Thanks for filing, I can reproduce this the latest iOS 15.1 beta using the test page at https://u7toi.csb.app. This does not reproduce for me on iOS 14. Ccing the relevant engineers. This may be a MobileSafari issue rather than a WebKit bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1808301</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Fox">alexfoxy</who>
    <bug_when>2021-10-24 23:24:33 -0700</bug_when>
    <thetext>Thanks. Do you have a sense on if this will get fixed or if it is working as intended?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819515</commentid>
    <comment_count>4</comment_count>
    <who name="marcel laverdet">marcel.webkit</who>
    <bug_when>2021-12-01 17:35:54 -0800</bug_when>
    <thetext>Since iOS is implementing non-standard behavior here, as a developer, I would love to see a non-standard vendor prefix CSS property to opt in or out. We&apos;re currently running into the opposite behavior where the address bar never minimizes since the bulk of our content is in a scrollable div.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825582</commentid>
    <comment_count>5</comment_count>
    <who name="Michal Sienkiewicz">michal</who>
    <bug_when>2021-12-20 05:19:16 -0800</bug_when>
    <thetext>I&apos;m having the same issues. When iOS 15 released first, any pop-up dialogs did not resize at all, revealing the content of underlying page. I managed to fix it as described in this article: https://pqina.nl/blog/how-to-prevent-scrolling-the-page-on-ios-safari/. 

Still, dialog resizing is very clucky, as you can see on the bug video from @Alex Fox. Any other resources that could help with that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839784</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-10 10:32:28 -0800</bug_when>
    <thetext>The Safari team confirmed this was an intentional behavior change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>