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

iOS: Picker labels disappear when user scrolls quickly the picker

    Details

      Description

      Expected Behavior

      The user can scroll down and up through the picker and the labels or views, always need to be there

      Actual Behavior

      When the user scrolls quickly some views or labels of the column picker just disappear

      Test Case

       
      // this sets the background color of the master UIView (when there are no windows/tab groups on it)
      Titanium.UI.setBackgroundColor('#000');
       
       
      var win1 = Titanium.UI.createWindow({  
          title:'Tab 1',
          backgroundColor:'#fff'
      });
       
      var picker = Ti.UI.createPicker({
      	top: 30,
      	left: 0,
      	right: 0,
      	selectionIndicator: true
      });
       
      win1.add(picker);
       
      picker.addEventListener('change', function(e) {
      	 
      	Ti.API.info("You selected row: "+e.row+", column: "+e.column+", custom_item: "+e.row.custom_item);
      	/*for(i in e)
      	{
      		Ti.API.info('index e ->'+e+' inside e ->'+e[i]);
      	}*/
      });
      var colCountries = Ti.UI.createPickerColumn({
      	width: 50
      });
       
       
      var coAnyRow = Ti.UI.createPickerRow();
      var coAnyRow2 = Ti.UI.createPickerRow();
      var coAnyRow3 = Ti.UI.createPickerRow();
      var coAnyRow4 = Ti.UI.createPickerRow();
       
      var coAnyLabel = Ti.UI.createLabel({
      	text:'Any',
      	color:'#000',
      	textAlign:'center',
      	font:{fontWeight:'bold', fontSize:12}
      });
       
      var coAnyLabel2 = Ti.UI.createLabel({
      	text:'Two',
      	color:'#000',
      	textAlign:'center',
      	font:{fontWeight:'bold', fontSize:12}
      });
      var coAnyLabel3 = Ti.UI.createLabel({
      	text:'three',
      	color:'#000',
      	textAlign:'center',
      	font:{fontWeight:'bold', fontSize:12}
      });
       
      var coAnyLabel4 = Ti.UI.createLabel({
      	text:'Four',
      	color:'#000',
      	textAlign:'center',
      	font:{fontWeight:'bold', fontSize:12}
      });
       
      coAnyRow.add(coAnyLabel);
      coAnyRow2.add(coAnyLabel2);
      coAnyRow3.add(coAnyLabel3);
      coAnyRow4.add(coAnyLabel4);
      colCountries.addRow(coAnyRow);
      colCountries.addRow(coAnyRow2);
      colCountries.addRow(coAnyRow3);
      colCountries.addRow(coAnyRow4);
       
      picker.add([colCountries]);
       
       
      win1.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              rtlechuga Radamantis Torres-Lechuga (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration