Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Currently there is no way to prevent component to gain focus if it wishes so.
Calling uiComponent.setFocus() will always assign stage.focus to this component.
It's useful to prevent child components from gaining focus in some cases.
There is a workaround for this - watching focusIn event in a parent component and switching stage.focus to event.relatedObject, but it makes focus rectangle jump and looks quite ugly.