Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9683] Android: Picker: The plain picker is hidden on orientation change on Android Tab

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-15T17:45:04.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and060112
ReporterSatyam Sekhri
AssigneeEric Merriman
Created2012-06-21T00:24:25.000+0000
Updated2017-06-15T17:45:04.000+0000

Description

The picker of type plain is hidden when device changes orientation. The issue occurs on Android Tab Not a Regression. The issue occurs as far as 1.8.2 Steps to Reproduce: 1. Create an application with code below and launch the application 2. Click on the picker control. The picker options are shown 3. Change the orientation of device Actual: The picker options are hidden Expected: The picker should continue to show
Titanium.UI.setBackgroundColor('#000');
var win = Ti.UI.createWindow();
var picker = Ti.UI.createPicker();

var data = [];
data[0]=Ti.UI.createPickerRow({title:'Bananas',custom_item:'b'});
data[1]=Ti.UI.createPickerRow({title:'Strawberries',custom_item:'s'});
data[2]=Ti.UI.createPickerRow({title:'Mangos',custom_item:'m'});
data[3]=Ti.UI.createPickerRow({title:'Grapes',custom_item:'g'});

picker.selectionIndicator = true;

picker.add(data);

win.add(picker);

picker.setSelectedRow(0,1,true);
win.open();

Comments

  1. Lee Morris 2017-06-15

    Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.

JSON Source