I had to add the following code to all of my PageShow events to solve an issue on iOS devices. The header would no longer be in a fixed position at the top of the page after the iOS keyboard was used. the code below solved that.
$("[data-role=footer]").css("position", "fixed");
$("[data-role=header]").css("position", "fixed");
However, this code now causes the header on a popup to get truncated.
Does anyone have any ideas?