<?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>232325</bug_id>
          
          <creation_ts>2021-10-26 12:14:02 -0700</creation_ts>
          <short_desc>The Smart App Banner breaks CSS for full-viewport web apps</short_desc>
          <delta_ts>2021-10-27 13:52:33 -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 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=232237</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Rocco">roccoc</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>sriramkrish85</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1808976</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rocco">roccoc</who>
    <bug_when>2021-10-26 12:14:02 -0700</bug_when>
    <thetext># Description of the problem:

* I have a web application that spans the full height of the viewport. 
* It needs to know the exact height of the viewport because it is a scrolling carousel of images.
* Because the bottom nav collapses, the viewport is resized during scrolling, breaking the UI.
* It is possible to prevent the bottom nav from collapses by setting `overflow: hidden` on the body tag, forcing a fixed viewport size.
* When the smart app banner is present, however, the bottom nav will still collapse.


# Repro Steps:

* Use a web page with the styles `body { overflow: hidden }` and enough content in the body so that is scrolls
* Verify that scrolling within the body does not cause the bottom nav to collapse
* Now open the web page with a smart app banner showing
* The bottom nav collapses and the viewport is resized</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1809120</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-26 17:25:08 -0700</bug_when>
    <thetext>&lt;rdar://problem/84688427&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>