Fixed header issue on iOS devices

Fixed header issue on iOS devices

Hello,

I have an issue using fixed header for jQuery Mobile 1.4.x. On iOS devices, when we click on an input field or textarea, and try to scroll upwards the header unfixes and appears anywhere in middle of page.

To resolve the issue, I had tried do hide it on focus, so the issue was resolved.
Now, I need the header fixed even when input or textarea is in focus i.e. the header should be visible at all times, even when typing in an input field or textarea. But am not able to get the result.

Please advise on the possibility of the above requirement.
Any help would be appreciated.

Thanks,
Rhythm