Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15939

iOS7: OptionDialog can't scroll correctly

    Details

      Description

      Issue description

      OptionDialog isn't scrolling correctly. This is only reproducible at iPad. iPhone 4 devices does not seem affected.

      Steps to reproduce

      If you press the button and see the optionsDialog that displays and then try to scroll, you will notice that it looks like 2 lists, one that stays still and the other that actually scrolls (please see screen shoot attached).

      Runnable sample

      var win = Ti.UI.createWindow({
          backgroundColor: 'white'
      });
       
      var btn = Ti.UI.createButton({
          title: 'here'
      });
       
      btn.addEventListener('click', function(){
       
      var optionsArray = new Array;
       
      for (loopCount = 0; loopCount < 150; loopCount++) {
          optionsArray[loopCount] = 'Name of the person, item ' + loopCount;
      }
       
      var dialog = Ti.UI.createOptionDialog({
          title: 'select something...',
          options: optionsArray,
          cancel: -1,
      });
       
      dialog.items = new Object();
      dialog.addEventListener('click', function(b) {
       
      });
       
      dialog.show();
      });
       
      win.add(btn);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              egomez Eduardo Gomez (Inactive)
              Reviewer:
              Pedro Enrique (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18014
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code