flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borek Bernard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-22946) DropDownList should be smarter about setting its scroll position after selection
Date Thu, 03 Oct 2013 07:49:57 GMT

    [ https://issues.apache.org/jira/browse/FLEX-22946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784902#comment-13784902
] 

Borek Bernard commented on FLEX-22946:
--------------------------------------

Is the ScrollPositionDropDownList.as file somewhere?

> DropDownList should be smarter about setting its scroll position after selection
> --------------------------------------------------------------------------------
>
>                 Key: FLEX-22946
>                 URL: https://issues.apache.org/jira/browse/FLEX-22946
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Spark: DropDownList
>    Affects Versions: Adobe Flex SDK 4.5 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Browser: Firefox 3.x
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Steps to reproduce:
> 1. Compile and run:
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
>                xmlns:s="library://ns.adobe.com/flex/spark">
>     
>     <s:DropDownList>
>         <s:ArrayList>
>             <fx:String>one</fx:String>
>             <fx:String>two</fx:String>
>             <fx:String>three</fx:String>
>             <fx:String>four</fx:String>
>             <fx:String>five</fx:String>
>             <fx:String>six</fx:String>
>             <fx:String>seven</fx:String>
>             <fx:String>eight</fx:String>
>             <fx:String>nine</fx:String>
>             <fx:String>ten</fx:String>
>         </s:ArrayList>
>     </s:DropDownList>
> </s:Application>
> 2. Click to open the drop down
> 3. Select item 'six'
> 4. Open the drop down again
>  
>  Actual Results:
>  
> Item 'six' is now at the top of the List
>  
>  Expected Results:
>  
> Item 'six' should be shown at the same location as it was shown last time the List was
shown (near the middle)
> The behavior I would like is how HTML select controls work.
> Launch LargeSelect.html in Firefox on Mac and look at how the select control acts.  When
you select item 'Saab 18' in the middle of the view, close the drop down and reopen it, that
item is again at the same scroll position as we last saw it rather than at the top of the
List.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message