[
https://issues.apache.org/jira/browse/FLEX-33660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235562#comment-15235562
]
Philip Keiter commented on FLEX-33660:
--------------------------------------
This custom List component extension worked for me:
<s:List
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
valueCommit="callLater(ensureIndexIsVisible, [selectedIndex])">
</s:List>
> ensureIndexIsVisible() does not work for spark.components.List
> --------------------------------------------------------------
>
> Key: FLEX-33660
> URL: https://issues.apache.org/jira/browse/FLEX-33660
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: List
> Affects Versions: Apache Flex 4.10.0
> Environment: Flex 4.10.0 and Flash Builder 4.7 on Windows 7
> Reporter: Alexander Farber
> Assignee: Mark Kessler
> Labels: easytest
> Attachments: ScrollToBottom.mxml, ScrollToBottom.png
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)