Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Internet Explorer 6.x
Language Found: English
Description
Steps to reproduce:
1.Set Combobox 'editable' property to "true"
2.Limit the width of Combobox control to fixed value, e.g 150 px.
3.Fill the Combobox dataProvider with long text strings.
4.Select any Combobox's option with a mouse.
5.Select again any Combobox's option with a mouse.
Actual Results:
The selected text is highlighted with the selection in Combobox textInput subcontrol and the text caret is moved to the end of the text.
Expected Results:
The selected text should not be highlighted with the selection in Combobox textInput sub-control and the text caret should be positioned at the beginning of the text.
Workaround (if any):
Extend Combobox and in overrided "updateDisplayList" method reset the text selection by calling
textInput.selectRange(0, 0);