LukeberryPi/phived

page height on iOS Safari browser doesn't match actual viewport

Closed this issue · 1 comments

this bug was noticed on an iPhone 8 device and is displayed on the image below:

image

the height of the document is including the bottom bar of the safari browser, messing the entire layout up.

the content should recognize the actual viewport of a safari browser, especially since the page has no scroll enabled.

reference: https://nicolas-hoizey.com/articles/2015/02/18/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers/

solved in: d44bb24

important reference: https://stackoverflow.com/a/37113430