Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26255] iOS: Removing and re-adding "plain" picker resets last selection

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
LabelsengSchedule, ios, picker
ReporterJoshua Quick
AssigneeUnknown
Created2018-08-03T21:16:59.000+0000
Updated2019-04-16T15:37:39.000+0000

Description

*Summary:* Picker resets its selection back to the 1st row when it's removed and re-added to the window. This happens with single-column and multicolumn pickers. *Steps to reproduce:*

Create a project using the attached [^SinglePickerAddRemoveTest.js] code.

Build and run on iOS.

Select the last row in the picker.

Tap the "Remove" button.

Tap the "Add" button.

Observe the picker's current selection.

*Result:* Picker resets its selection to the 1st row when re-added to the window. *Expected Result:* Last selection should be retained.

Attachments

FileDateSize
MultiPickerAddRemoveTest.js2018-08-03T19:09:36.000+0000960
SinglePickerAddRemoveTest.js2018-08-03T19:09:36.000+0000679

Comments

No comments

JSON Source