[ https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686572#comment-13686572 ]
Justin Mclean commented on FLEX-24257: -------------------------------------- Using the correct month ie (11 rather than 12) fixes the issue but only by chance, it's conceivable that for a given format december is not the widest month. > DateField text scrolled when pressing DateField calendar button > --------------------------------------------------------------- > > Key: FLEX-24257 > URL: https://issues.apache.org/jira/browse/FLEX-24257 > Project: Apache Flex > Issue Type: Bug > Components: mx: DateField > Affects Versions: Adobe Flex SDK 3.2 (Release) > Environment: Affected OS(s): Windows > Affected OS(s): Windows 7 > Browser: Internet Explorer 8.x > Language Found: English > Reporter: Adobe JIRA > Assignee: Justin Mclean > Attachments: screenshot-1.jpg > > > Steps to reproduce: > 1. Click on an editable DateField's calendar button when the DateField > doesn't currently have focus. > 2. Observe the text in the DateField's textinput area. > > Actual Results: > The text is automatically highlighted and scrolled to the left such that the > beginning part of the date text isn't visible. > > Expected Results: > The text should not be highlighted or scrolled at all. > > Workaround (if any): > Click in the textinput area before pressing the button. > > Sample app: > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> > <mx:DateField editable="true"/> > </mx:Application> > I see this on Flex SDK 3.2, 3.4 and 4.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira