I cannot seem to find the workaround for this.
On ios9 in mobile safari, if a webapp uses position:absolute
and bottom:0
for the content area to cover the whole screen, when in landscape mode
the safari navigation bar will cover the bottom of the content and you cannot scroll past it - it does NOT block in portrait.
So why does safari get bottom:0
correct in portrait but not landscape?
setting position:fixed
on the html
element magically fixed this
html { position:fixed; width:100%; height:100%; overflow:hidden; }
not sure why but must be a rendering bug that fixed
works around
for some reason fixed
also change the font size in landscape but I can work around that too
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With