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

Slider snapInterval property should default to value of stepSize

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Slider
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1. add live dragging an change event to slider, set stepsize to 2
      2. update a label with the change event
      3. move slider with mouse
      4. click on trackbar with mouse

      Actual Results:
      when moving slider change value doe not change as per change event until after mouse is released
      when clicking on the track bar random odd numbers appear in label

      Expected Results:
      label value updates with mouse dragging scroller
      label value always even when clicking anywhere on track

      Workaround (if any):
      none

      test code:
      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      minWidth="1024" minHeight="768">

      <s:HSlider id="hs" x="77" y="124" width="240" height="15" liveDragging="true"
      change="lbl.text=String(hs.value)"
      minimum="0" maximum="100" stepSize="2"/>
      <s:Label id="lbl" x="79" y="59" text="Label"/>
      </s:Application>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment