Phonegap + jqMobi / Intel App Framework causes constant screen resize

[亡魂溺海] 提交于 2019-12-08 11:37:08

问题


Somehow when I try a basic example of Intel App Framework in a Phonegap project, the screen constantly keeps resizing (leaving a white space of the size of the virtual keyboard and back to 100% height).

When I try out the site in a browser everything is fine...

I tried every viewport setting that I could think of....something is causing this behaviour, but what?


回答1:


The problem is that the 'afui' div is absolute-positioned.

The following css fixes this :

  #afui {
    position: static;
  }


来源:https://stackoverflow.com/questions/18625280/phonegap-jqmobi-intel-app-framework-causes-constant-screen-resize

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!