You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2014/06/18 23:14:25 UTC

[jira] [Resolved] (FLEX-34339) Components don't focusOut when removed from stage

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

Alex Harui resolved FLEX-34339.
-------------------------------

    Resolution: Not a Problem

If you are removing a component from the stage without intention to replace it right away, for usability purposes you should set focus to some other control on stage and then this problem should be avoided.

> Components don't focusOut when removed from stage
> -------------------------------------------------
>
>                 Key: FLEX-34339
>                 URL: https://issues.apache.org/jira/browse/FLEX-34339
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Mihai Chira
>              Labels: easytest
>             Fix For: Apache Flex 4.13.0
>
>         Attachments: _focusOutNotDispatchedOnRemove.fxp
>
>
> *Steps to reproduce*:
> 1. Import and run attached project.
> 2. Click on numeric stepper and then on button. Notice that focusIn and focusOut events are dispatched by numeric stepper as expected.
> 3. Shift+Click on the numeric stepper (this will remove it from stage in 600ms).
> *Actual behaviour*: focusOut is not dispatched by numeric stepper when it's removed from stage.
> *Desired behaviour*: I expect that a focused component should be de-focused when removed from stage.
> *NOTES*:
> -This causes at least one other bug: FLEX-34340.
> -Not sure if this is a flash player bug or SDK bug. Or it could be a feature, but definitely not an intuitive one.
> -I have a feeling this is related to FLEX-20416 (couldn't check, since the attachment is not on the ticket).



--
This message was sent by Atlassian JIRA
(v6.2#6252)