jquery/jquery-mobile — Issue #3379: iPhone : Page Min Height not set correctly
Author: lijumathews
Created: 2012-01-04 22:08:36+00:00
State: open

When you have a page with content not enough to fill the screen, we have the page extending outside the actual safari view port.
The getScreenHeight(); I guess is calculating the actual screen height of the iPhone without taking into account the safari footer bar.
The page fits into the correct safari height if we change line 2517

winMin	= port ? 480 : 320,
to
winMin	= port ? 422 : 320,

As seen above when I changed the value from 480 to 420, it sets the correct page height. This can been seen on any jQuery Mobile site.

There are others with the same issue :
http://forum.jquery.com/topic/page-is-too-long-in-portrait-orientation
Please Advice.