Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile and run the following application:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<s:List left="0" right="0" id="itemList" click="trace(itemList.dataGroup.getItemIndicesInView())">
<s:itemRenderer>
<fx:Component>
<s:ItemRenderer width="200" height="100">
<s:Button label="
" width="100%" height="100%" />
</s:ItemRenderer>
</fx:Component>
</s:itemRenderer>
<s:layout>
<s:HorizontalLayout gap="0"/>
</s:layout>
<s:dataProvider>
<s:ArrayList>
<s:source>
[0,1,2,3,4,5,6,7]
</s:source>
</s:ArrayList>
</s:dataProvider>
</s:List>
</s:WindowedApplication>
2. Scroll to the right such that item 2 and item 4 are in view (but 5 is not)
3. Click on one of the buttons
Actual Results:
trace output: 2,3,4,5
Expected Results:
trace output: 2,3,4
Workaround (if any):