Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
Adobe Flex SDK 3.0 (Release)
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Internet Explorer 7.x
Language Found: English
Description
Steps to reproduce:
1. Compile and run attached MXML file
2. Click on the ColorPicker to show the swatches (text field should be visible in ColorPicker pop-up)
3. Click on the CheckBox to close swatches and deselect CheckBox.
4. Click on the ColorPicker to show the swatches (text field should now be invisible, yet the blue focus rect remains)
Actual Results:
TextField focus rect is visible, even though the text field itself isnt visible.
Expected Results:
If ColorPicker.showTextField is false, the focus rect should be hidden also.
Workaround:
One possible workaround is to use the ColorPicker control's click event to give focus to something else, such as the main application. The following snippet seems to fix the issue above:
[code]
<mx:CheckBox id="sTF" label="showTextField" selected="true" />
<mx:ColorPicker id="cp3" showTextField="
" click="Application.application.setFocus()" />
[/code]