I have a jQuery mobile app wrapped in PhoneGap. I am trying to use a fixed footer and header and have some problems with the footer. If I have content with an length of X, and then after clicking the content is smaller, the footer will move up and not stick to the bottom of the screen. If I click on the screen, it will return to its place.
Any ideas why this is happening?
My footer:
<div data-role="footer" data-position="fixed" data-id="footer_main"> <div data-role="navbar"> <ul class="navbar"> <li><a href="#home" data-icon="home" class="search">Home</a></li> <li><a href="#bycity" data-icon="search" class="search2">City</a></li> </ul> </div> </div>
This problem will happen on Android and iPhone in much the same way (iPhone, perhaps even more).
BTW - I am using jQuery mobile "jquery.mobile-1.0b2" and PhoneGap 1.0
Roman source share