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

spark slider - live dragging fails also step size functioning incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 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

          People

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

            Dates

              Created:
              Updated:
              Resolved: