Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22823

FocusManager should use Group's element order instead of display list order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Focus Manager
    • 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

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: