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.

example of viewport height being wrong

enter image description here

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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -