Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33169

Spark List selection on mobile doesn't work properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.5.1 (Release), Adobe Flex SDK 4.6 (Release)
    • Apache Flex 4.10.0
    • Spark: List
    • None
    • iOS 5.x, Android 3.2/4.0, Air 3.0 - 3.3

    Description

      The touch selection of list items on the actual device does not work properly.
      Sometimes, even though the touch has definitely been recognized by the device, the list selection change isn't committed, instead the previously selected item remains selected.

      To reproduce the issue, please set up a new Flex mobile project and add the most basic list with inline renderer to a view:

      <s:List id="myList" width="100%" height="100%">
      <s:dataProvider>
      <s:ArrayCollection>
      <fx:Object label="Item1" />
      .....
      <fx:Object label="Item30" />
      </s:ArrayCollection>
      </s:dataProvider>
      </s:List>

      Deploy the app to an actual device (this bug does NOT appear in the emulator!) and randomly try to select items, scroll the list, select again and so on. You'll notice that the down color is sometimes set, but the selection isn't changed.

      For a more detailed description of this bug please see http://stackoverflow.com/questions/11740074/selection-on-spark-mobile-list-only-works-3-out-of-4-times

      Attachments

        1. FLEX-33169_Mobile_List_Selection.patch
          0.6 kB
          Maurice Amsellem
        2. ListExt.as
          0.5 kB
          Maurice Amsellem

        Activity

          People

            Unassigned Unassigned
            al_birdy Al Birdy
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: