html - iOS 7.1 minimal ui causing problems with viewport height css unit (vh) -
since ios 7.1 when scroll down page viewport size changes doesnt update 100vh there way stop minimal ui or update viewport on scroll?.
example site http://goo.gl/umbd47
i have included picture of problem below , 1 of how should look.


if scrolling element not body, minimal ui should not activate.
wrap content in div overflow: auto , set body's overflow visible. both body , div must have heights , widths set 100%.
so css might like:
body { width: 100%; height: 100%; overflow: visible; } #container { width: 100%; height: 100%; overflow: auto; }
Comments
Post a Comment