<select> not working in Phonegap app on Android 2.3.3

前端 未结 8 873
不思量自难忘°
不思量自难忘° 2020-12-09 19:44

I\'m working on Phonegap app for Android and iOS. Most of the stuff works pretty well but I\'m experiencing a problem with

提交评论

  • 2020-12-09 20:27

    I'm aware this question was published two years ago, but just in case someone face this problem today, as I did recently:

    I had the same behaviour as the one you tell. The problem I had was with a div that appeared as a header and had the attribute data-role="header" and data-position="fixed". There's a bug in jquery mobile that causes a number of strange issues in Android 2.2/2.3 (http://demos.jquerymobile.com/1.3.2/widgets/fixed-toolbars/).

    I fixed that error removing 'data-position="fixed"' from the header and adding a custom class with the following code:

    .custom-header{
        position: fixed !important;
        left: 0px !important;
        right: 0px !important;
        top: 0px !important;
        z-index: 999 !important;
    }
    

    Hope it helps somebody.

    0 讨论(0)
  • 提交回复
    热议问题