[Webkit-unassigned] [Bug 143305] New: Viewport relative vh unit needs to update values based upon dynamic tab/address chrome

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 1 06:57:56 PDT 2015


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

            Bug ID: 143305
           Summary: Viewport relative vh unit needs to update values based
                    upon dynamic tab/address chrome
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: iOS 8.2
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: contact at benfrain.com

The vh unit specifies one proportion of the viewport height. Therefore 100vh should be the entire viewport height. A problem occurs in Safari due to the dynamic tab/address bar that resizes on scroll (and consequently means the viewport height changes). In previous implementations of iOS the minimal-ui meta tag allowed a consistent viewport but the current version (8.2 at time of filing) has deprecated this tag.

This problem manifests when scrolling panels are created by creating container divs with a viewport height of 100vh. The scrolling panels don't get the vh value updated when the address bar chrome resizes leading to a double-scroll scenario.

You can see this issue here: http://benfrain.com/playground/scroll-test.html

In the absence of an implementation that facilitates this, is there any chance of getting some form of meta tag that prevents the address bar chrome resizing?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150401/1152ab05/attachment.html>


More information about the webkit-unassigned mailing list