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

ItemSnapping: Resizing a SpinnerList via a transition causes center selection to drift

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Create a Flex mobile project with this view:

      <?xml version="1.0" encoding="utf-8"?>
      <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark" title="ExpandingSpinnerView">

      <s:states>
      <s:State name="small" />
      <s:State name="large" />
      </s:states>

      <s:transitions>
      <s:Transition>
      <s:Resize target="

      {slc}

      " />
      </s:Transition>
      </s:transitions>

      <s:actionContent>
      <s:Button label="large" click="currentState='large'" />
      <s:Button label="small" click="currentState='small'" />
      </s:actionContent>

      <s:SpinnerListContainer id="slc"
      horizontalCenter="0" width.large="90%" width.small="50%"
      verticalCenter="0" height.large="90%" height.small="50%">
      <s:SpinnerList width="100%" height="100%">
      <s:NumericDataProvider />
      </s:SpinnerList>
      <s:SpinnerList width="100%" height="100%">
      <s:NumericDataProvider />
      </s:SpinnerList>
      <s:SpinnerList width="100%" height="100%">
      <s:NumericDataProvider />
      </s:SpinnerList>
      </s:SpinnerListContainer>

      </s:View>

      2. Click between the large/small buttons to toggle the state
      3.

      Actual Results:

      The item under the center selection indicator drifts during the effect then lands on the correct item.

      Expected Results:

      The item under the center selection indicator should stay center selected throughout the whole animation

      Workaround (if any):

      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: