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

iOS: Removing and re-adding "plain" picker resets last selection

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS

      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:

      1. Create a project using the attached SinglePickerAddRemoveTest.js code.
      2. Build and run on iOS.
      3. Select the last row in the picker.
      4. Tap the "Remove" button.
      5. Tap the "Add" button.
      6. 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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jquick Joshua Quick
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code