[ https://issues.apache.org/jira/browse/FLEX-34954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Kessler closed FLEX-34954. ------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.15.0 No further issues reported. Closing issue. > SkinnableTextBase steals focus by callLater(textDisplay.setFocus) > ----------------------------------------------------------------- > > Key: FLEX-34954 > URL: https://issues.apache.org/jira/browse/FLEX-34954 > Project: Apache Flex > Issue Type: Bug > Components: Spark: TextArea > Affects Versions: Apache Flex 4.14.1 > Reporter: Konstantin Elstner > Assignee: Mark Kessler > Priority: Critical > Fix For: Apache Flex 4.15.0 > > > The support class: > spark.components.supportClasses.SkinnableTextBase > has a critical issue in line 1879: > callLater(textDisplay.setFocus) > The usage of call later will lead to possible focus losses in case of > environments with out mouse usage. > Examples: > - TextBox added to stage, afterwards a popup / alter is added > - TextBox is added and removed to / from stage > - Alert is opened over textbox, alert close will trigger switch to other > component, but text box will be reactivated for a short moment. > All this cases will have a critical focus loss. > Please change in spark.components.supportClasses.SkinnableTextBase > line 1879 to: > textDisplay.setFocus(); > By the way: > A callLater workaround is a bad practice to fix some skin state issues, > especially only slow computers with possible dropped frames. -- This message was sent by Atlassian JIRA (v6.3.4#6332)