I'm using the following media query to get rid of a fixed heard and panel in jQuery Mobile.
@media only screen and (orientation: landscape) {
.ui-header-fixed {
position: absolute;
}
.ui-panel-fixed {
position: absolute;
}
}
The media query works. If I'm landscape when I load the screen, the header is unfixed. However, if I go portrait (where it's fixed) then go back, the header remains fixed.
Sort of.
It's only visually fixed. The buttons aren't clickable unless you're at the top of the screen (where they would be clickable anyway). As soon as you scroll, they are untouchable.
Similar issue with the panels. The panel appears to be fixed after scrolling, but if you click a nav link, you're actually touching a different link.
Suggestions?