flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Sotola (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34325) setFocus and passing the focus on component button
Date Wed, 28 May 2014 11:24:02 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011025#comment-14011025

Dominik Sotola commented on FLEX-34325:

Thanks for the advice.
This is very simple, clear and working solution in the first place.
It is interesting, that in the older version of framework this issue wasn't occuring. I'll
try to do some changes in our project, I believe it'll be ok.

> setFocus and passing the focus on component button
> --------------------------------------------------
>                 Key: FLEX-34325
>                 URL: https://issues.apache.org/jira/browse/FLEX-34325
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Focus Manager, Spark: Button
>    Affects Versions: Apache Flex 4.11.0, Apache Flex 4.12.0, Apache Flex 4.12.1
>         Environment: Windows 7 64bit, Flash Player 11.6.602.168, Flash Player
>            Reporter: Dominik Sotola
>         Attachments: focusTest.mxml
> While migrating to new version of Flex SDK 4.12.0 (from version 4.6) I found a bug or
at least an unfortunate feature. 
> When passing the focus on component button, the button's click event is dispatched.
> Required application state: If user (with actual focus in "tiTwo" text input) press the
Enter key, focus is then passed on component button. 
> After pushing Enter on text input, click event must not be dispatched on "button".
> More info:
> http://stackoverflow.com/questions/23753885/flex-4-12-0-setfocus

This message was sent by Atlassian JIRA

View raw message