Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27760

s:NumericStepper stepSize/snapInterval not working correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Spark: NumericStepper
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run attached.
      2. Click the up arrow in the stepper twice.

      <?xml version="1.0"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark" >

      <s:NumericStepper id="minuteIndicator" minimum="0" maximum="59" snapInterval="30" stepSize="30" allowValueWrap="true"/>
      </s:Application>

      Note even if you remove the allowValueWrap it still goes from 30->59 which isn't correct.

      Actual Results:

      first time goes from 0->30
      second time goes from 30->59

      Expected Results:

      first time goes from 0->30
      second time goes from 30->0

      Workaround (if any):

      add a change handler to fix the value

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: