flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLEX-24257) DateField text scrolled when pressing DateField calendar button
Date Mon, 17 Jun 2013 22:00:21 GMT

    [ https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686041#comment-13686041
] 

Maurice Amsellem edited comment on FLEX-24257 at 6/17/13 9:59 PM:
------------------------------------------------------------------

Can be reproduced easily in Apache Flex 4.9 with this code:
{code}
<?xml version="1.0"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
        >

    <mx:DateField editable="true" selectedDate="{new Date()}"/>
</s:Application>
{code}
Just click in the DateField input field, and the text will be scrolled.  

Note: the issue occurs also with <mx:TextInput/>  
<?xml version="1.0"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
        >
    <mx:TextInput text="2013/06/17" />
</s:Application>
{code}

                
      was (Author: mamsellem):
    Can be reproduced easily in Apache Flex 4.9 with this code:
{code}
<?xml version="1.0"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
        >

    <mx:DateField editable="true" selectedDate="{new Date()}"/>
</s:Application>
{code}
Just click in the DateField input field, and the text will be scrolled.  
                  
> 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
>         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

Mime
View raw message