[TIMOB-9683] Android: Picker: The plain picker is hidden on orientation change on Android Tab
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-15T17:45:04.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | api, qe-and060112 |
Reporter | Satyam Sekhri |
Assignee | Eric Merriman |
Created | 2012-06-21T00:24:25.000+0000 |
Updated | 2017-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();
Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.