jquery-archive / jquery-mobile

jQuery Mobile Framework
https://jquerymobile.com
Other
9.7k stars 2.41k forks source link

Fixed header & footer unreliable on iPhone/Phonegap #2011

Closed adriancd closed 12 years ago

adriancd commented 12 years ago

There doesn't seem to be any progress with fixed headers in apps.

Sometimes the header & footer will appear as expected after a scroll, more often they don't. It feels like a touch release command is missed and then they are out of sync and stop appearing. It can resume after changing page

The fixed footer will sometimes drag up with the scrolling content and then disappear when the scroll stops

I have tried the latest nightly builds and am using iphone 3gs.

toddparker commented 12 years ago

There are already a number of issues related to the fixed headers so closing as a duplicate: https://github.com/jquery/jquery-mobile/issues/search?q=fixed

The issue is with how these browsers freeze the events and display during scrolling. We have a ticket to implement position:fixed for browsers that now support it and have the current system as a fallback.