flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Chira (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-35125) DropDownList inside a PopUpAnchor doesn't close when another DropDownList is selected
Date Wed, 31 Aug 2016 11:32:21 GMT

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

Mihai Chira updated FLEX-35125:
-------------------------------
    Description: 
*Steps to reproduce*:
# Run the attached code
# Open the first DropDownList
# Open the second DropDownList

*Actual behaviour*: the first DropDownList is not closed.
*Expected behaviour*: the first DropDownList is closed.
*Notes*:
* this is how it usually works when the components are not inside a PopUpAnchor
* it relates to the DropDownLists not receiving the {{FocusEvent.FOCUS_OUT}} event when the
other one is clicked, as ought to; {{DropDownListBase.focusOutHandler()}} is never called,
even when the user clicks outside the application, whereas for DropDownLists on the stage
the function is called for both these scenarios.
* If we wrap the {{HGroup}} inside a {{TitleWindow}}, all works as expected. That's because
{{TitleWindow}} implements {{IFocusManagerContainer}} and, as described in {{PopUpManager}},
"If the class implements {{IFocusManagerContainer}}, the window will have its  own {{FocusManager}}
so that, if the user uses the TAB key to navigate between controls, only the controls in the
window will be accessed."

  was:
*Steps to reproduce*:
# Run the attached code
# Open the first DropDownList
# Open the second DropDownList

*Actual behaviour*: the first DropDownList is not closed.
*Expected behaviour*: the first DropDownList is closed.
*Notes*:
* this is how it usually works when the components are not inside a PopUpAnchor
* it relates to the DropDownLists not receiving the {{FocusEvent.FOCUS_OUT}} event when the
other one is clicked, as ought to; {{DropDownListBase.focusOutHandler()}} is never called,
even when the user clicks outside the application, whereas for DropDownLists on the stage
the function is called for both these scenarios.
* If instead of 


> DropDownList inside a PopUpAnchor doesn't close when another DropDownList is selected
> -------------------------------------------------------------------------------------
>
>                 Key: FLEX-35125
>                 URL: https://issues.apache.org/jira/browse/FLEX-35125
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DropDownList, Spark: PopUpAnchor
>            Reporter: Mihai Chira
>            Assignee: Mihai Chira
>         Attachments: Reproduce.mxml
>
>
> *Steps to reproduce*:
> # Run the attached code
> # Open the first DropDownList
> # Open the second DropDownList
> *Actual behaviour*: the first DropDownList is not closed.
> *Expected behaviour*: the first DropDownList is closed.
> *Notes*:
> * this is how it usually works when the components are not inside a PopUpAnchor
> * it relates to the DropDownLists not receiving the {{FocusEvent.FOCUS_OUT}} event when
the other one is clicked, as ought to; {{DropDownListBase.focusOutHandler()}} is never called,
even when the user clicks outside the application, whereas for DropDownLists on the stage
the function is called for both these scenarios.
> * If we wrap the {{HGroup}} inside a {{TitleWindow}}, all works as expected. That's because
{{TitleWindow}} implements {{IFocusManagerContainer}} and, as described in {{PopUpManager}},
"If the class implements {{IFocusManagerContainer}}, the window will have its  own {{FocusManager}}
so that, if the user uses the TAB key to navigate between controls, only the controls in the
window will be accessed."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message