Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Focus tabbing won't work correctly in a Group with element order different from display object order (setting "depth" property on the components)
Steps to reproduce:
1. Compile and run the attached code, then press tab
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<s:VGroup>
<s:Button label="First" depth="1"/>
<s:Button label="Second"/>
</s:VGroup>
</s:Application>
Actual Results:
The second button is in focus
Expected Results:
The first button is in focus
Workaround (if any): set explicit tabIndex on each component