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

iOS: ListView "itemsselected" event only fired when tapping checkmarks

    Details

    • Story Points:
      5
    • Sprint:
      2021 Sprint 21

      Description

      Summary:
      ListView event "itemsselected" is only fired when tapping on item checkboxes while editing with multi-selection enabled. The "itemsselected" event is NOT fired when tapping on anywhere else on the ListItem such the label or empty row area, even though it is selected and added to the "selectedItems" array property. This makes it difficult to know what items are currently selected (other than setting up a timer).

      Steps to reproduce:

      1. Build and run ListViewSelectionCountTest.js on iOS.
      2. Tap on the "Edit" button.
      3. Tap on a list item's check mark.
      4. Notice top label reads "1 Selected". (This is good.)
      5. Tap on the same list item's label to unselect it. (Do not tap it's checkmark.)
      6. Notice top label reads "1 Selected". (This is bad. Event was not fired.)
      7. Tap on multiple list item labels and not their checkboxes.
      8. Notice top label never changes.

      Note:
      This is not an issue on Android, making it easy to keep a selection count via events.

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Gary Mathews
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration