Revert "FLEX-33537: Changed the internal setfocus to the textDisplay call to be callLater. This allows for the skin/child components to be setup before receiving focus."
This reverts commit d5c329722cd60568c53210973024b591b912b486. Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/094b9a52 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/094b9a52 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/094b9a52 Branch: refs/heads/release4.15.0 Commit: 094b9a52bd1f1d31651aa5097f24247588050ca0 Parents: a936d2e Author: Mark Kessler <[email protected]> Authored: Wed Nov 18 19:20:50 2015 -0500 Committer: Mark Kessler <[email protected]> Committed: Wed Nov 18 19:30:06 2015 -0500 ---------------------------------------------------------------------- .../src/spark/components/supportClasses/SkinnableTextBase.as | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/094b9a52/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as index b08c7a3..388135d 100644 --- a/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as +++ b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as @@ -1875,8 +1875,7 @@ public class SkinnableTextBase extends SkinnableComponent } else { - //Calling later so the skin/state can finish setting up before accepting focus on textDisplay. - callLater(textDisplay.setFocus); + textDisplay.setFocus(); } } }
