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

ButtonBar focusEnabled='false' breaks correct focus support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: Button Bar
    • None
    • Affected OS(s): All OS Platforms
      Browser: Safari
      Language Found: English

    Description

      Steps to reproduce:
      1. Set focusEnabled="false" to ButtonBar (ie. disable focus)
      2. Click another component to set focus to it. (ie. a text input)
      3. Press the "tab" key to move the focus to the next focusable control
      4. Click one of the buttons on the ButtonBar.

      Actual Results:
      The ButtonBar's sub-button receives focus. Keyboard navigation breaks (ie. left and right arrows do not work on buttonbar)

      Additionally 'tab' breaks when attempting to tab past the buttonbar control.

      In another situation I had very odd focus drawing behaviour with rollover. (I've added a screenshot to the attachments)
      If another control was focused and then you roll over the button bar the focus redraws attempting to emulate the shape of the mouse overed button. It seems to adjust the x position of the focus being drawn but not the y position.

      Expected Results:
      ButtonBar and any of it's children should not receive focus when focusEnabled='false'. Tab Focus should not break. Clicking on the ButtonBar when focusEnabled="false" should not change focus.

      Workaround (if any):

      Note:
      The button bar in the screen shots is in the top left with the left and right arrows on it.
      Picture 8.png shows the focus drawn after rolling over the ButtonBar when one of the square buttons was focused.
      Picture 8.png shows the focus drawn after rolling over the ButtonBar when the Search Text Input was focused.

      it is possible to get the odd focus rendering to break in the uploaded example however, I've been unable to find a sequence that results is this response every time and I am unable to upload the example the screen shots were taken from.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: