When building and running on ios 7.1+ emulator, when I focus on an input field, the keyboard pushes up the webview, resulting in my header being pushed off-screen. I would like the header to remain fixed.
I am using jQuery mobile for the UI template-ing.
Is there any workaround or standard approach to solving this issue? Also can someone explain why this is happening?
I have spent some time looking into this and found the following two related StackOverflow questions, however the solutions did not help me solve the problem.
I also tried setting the jquery mobile 'data-position="fixed"' attribute to the header but that did not work either.
Thanks!