[Webkit-unassigned] [Bug 232325] New: The Smart App Banner breaks CSS for full-viewport web apps

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 26 12:14:02 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232325

            Bug ID: 232325
           Summary: The Smart App Banner breaks CSS for full-viewport web
                    apps
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Plug-ins
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: roccoc at google.com

# 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211026/b9dbb5de/attachment-0001.htm>


More information about the webkit-unassigned mailing list