Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1971

Set scroll to jquery mobile popup in android 2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.2.0, 2.3.0
    • None
    • cordova-android
    • Phonegap-version:cordova-2.1.0
      Jquery-mobile-version:jquery.mobile-1.2.0
      Android-2.x and 4.0

    Description

      I am using jquery mobile popup in my phonegap android app.I need to set the height to the popup and to scroll when the content exceeds in the popup.I have tried some code its working fine in android 4.0 but not working in android 2.2.

      <div align="center">
      <a href="#popupBasic" data-rel="popup">click here</a>
      </div>
      <div data-role="popup" id="popupBasic" data-theme="c" data-overlay-theme="c" >
      <div align="center">
      <a href="#" class="popupclose" onclick ="hidePopUp()">Close Window</a><br/>
      </div>
      <p>rdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgf</p>

      css:

      .ui-popup {
      position: relative;
      overflow:scroll;
      }

      Script for setting height:

      $( "#popupBasic" ).css( "height","100px");

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            mohanapriyaasai mohanapriya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 408h
                408h
                Remaining:
                Remaining Estimate - 408h
                408h
                Logged:
                Time Spent - Not Specified
                Not Specified