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

ensureIndexIsVisible() does not work for spark.components.List

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.10.0
    • None
    • Spark: List
    • Flex 4.10.0 and Flash Builder 4.7 on Windows 7

    Description

      The method ensureIndexIsVisible() does not really work, when an item has been added to a List recently.

      You have to use workarounds like the one described at the http://flexponential.com/2011/02/13/scrolling-to-the-bottom-of-a-spark-list/

      I am attaching a very simple test case ScrollToBottom.mxml which demonstrates the failure (and the workaround) for Flex 4.10.0.

      Attachments

        1. ScrollToBottom.mxml
          2 kB
          Alexander Farber
        2. ScrollToBottom.png
          10 kB
          Alexander Farber

        Activity

          People

            paeros Mark Kessler
            afarber Alexander Farber
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: