[ 
https://issues.apache.org/jira/browse/FLEX-17664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-17664:
---------------------------------

    Labels: easytest  (was: )
    
> VBox container does not receive focus when clicked
> --------------------------------------------------
>
>                 Key: FLEX-17664
>                 URL: https://issues.apache.org/jira/browse/FLEX-17664
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: Box View
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easytest
>
> Steps to reproduce:
> Compile the following code, and click on the resulting VBox:
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout="absolute">
>     
>       <mx:VBox>
>       
>               <mx:Canvas
>                       width="500"
>                       height="3000"
>                       backgroundColor="#FF0000"/>
>                       
>       </mx:VBox>
>       
> </mx:Application>
> Actual Results:
> A VBox container appears with a vertical scrollbar, but clicking inside the 
> box doesn't give focus to the container, even if the focusEnabled property is 
> set to true.  This also means that the VBox cannot be natively controlled via 
> keyboard input (i.e. PageUp, PageDown, Up, Down, Home, End).
> Expected Results:
> The VBox receives focus, and allows keyboard control.
> Workaround (if any):
> Force focus to the VBox, when the user clicks inside it, by using the 
> setFocus() method.  After calling this method, the VBox picks up the keyboard 
> events correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to