PhoneGap / JQuery Mobile - Page style breaking when keyboard is visible

前端 未结 3 1375
独厮守ぢ
独厮守ぢ 2021-01-13 22:43

I have an application built with Phonegap and JQuery Mobile. Whenever the soft keyboard shows - on form inputs etc - the whole page resizes. Images, buttons and text. Which

3条回答
  •  隐瞒了意图╮
    2021-01-13 23:27

    I have a proven solution for this problem, I was also facing same problem but I solved it myself. First create a field inside body and make it hidden or you can make it hide behind a div using z-index so that it won't be visible.

    
       
       
    Your page matter here

    The moto is that we have to set this select field when the page load, and doing this will stop the flickering for sure...try it guys.....it worked for me

提交回复
热议问题