[TIMOB-26255] iOS: Removing and re-adding "plain" picker resets last selection
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | engSchedule, ios, picker |
| Reporter | Joshua Quick |
| Assignee | Unknown |
| Created | 2018-08-03T21:16:59.000+0000 |
| Updated | 2019-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
No comments