You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/17 05:21:16 UTC

[jira] [Updated] (FLEX-17208) Changing snapInterval on Slider causes an unexpected value change

     [ https://issues.apache.org/jira/browse/FLEX-17208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-17208:
---------------------------------

    Labels: easyfix easytest  (was: )
    
> Changing snapInterval on Slider causes an unexpected value change
> -----------------------------------------------------------------
>
>                 Key: FLEX-17208
>                 URL: https://issues.apache.org/jira/browse/FLEX-17208
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: Slider
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Browser: Internet Explorer 6.x
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>              Labels: easyfix, easytest
>
>       Steps to reproduce:
> 1. Compile and run the following:
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
>     <mx:Script>
>         <![CDATA[
>         ]]
>       >
>     </mx:Script>
>     <mx:HSlider id="hs" x="288" y="321" minimum="0" maximum="100" value="34" snapInterval="1"/>
>     <mx:Button x="408" y="365" label="Button" click="hs.snapInterval=0.01"/>
>     <mx:TextInput x="486" y="321" text="{hs.value}"/>
> </mx:Application>
> 2. The text field shows the current value of the slider, which is 34.
> 3. Press the button.
>  
>  Actual Results:
> Slider value, as shown by the text field, jumps to 33.99
>  
>  
>  Expected Results:
> Slider value should stay at 34.
>  
>  
>  Workaround (if any):
>  
>  
>  Reset the value after updating the tick spacing.
>     

--
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