Why is Android WebView refusing user input?

前端 未结 16 1890
半阙折子戏
半阙折子戏 2020-11-28 08:12

I\'m developing an Android application that uses a WebView to display the login page for Facebook. The page loads beautifully, and I\'m able to select the username/password

16条回答
  •  情书的邮戳
    2020-11-28 08:25

    I found a problem that might be different, but it sounds similar. In the android 2.3 native browser, if you have fixed position elements on the page, it sometimes breaks select boxes.

    A workaround for this problem for 2.3 devices is to never allow empty child elements for a fixed position parent. Thus,

    not empty

    would become

    not empty  

    This fixed my problem.

    Don't know if this was the issue for your problem, and this is over a year after-the-fact, but figured I would share, as I'm currently dealing with another fixed postion issue on an app, and I haven't found a workaround for it.

提交回复
热议问题