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

ItemSnapping: Initial scroll position on a viewport is no longer respected when pageScrollingEnabled is set to true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • 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 new Flex mobile project with this list:
      <s:List height="100%" width="100%" id="itemList" pageScrollingEnabled="true">
      <s:itemRenderer>
      <fx:Component>
      <s:IconItemRenderer width="100%" height="100%" labelField="imageName" messageField="imageDesc" />
      </fx:Component>
      </s:itemRenderer>
      <s:layout>
      <s:VerticalLayout verticalScrollPosition="

      {itemList.dataGroup.height*2}

      " gap="100" variableRowHeight="false"/>
      </s:layout>
      <s:dataProvider>
      <s:ArrayList>
      <fx:Object imageIcon="assets/Chrysanthemum.jpg" imageDesc="Chrysanthemum" imageName="Chrysanthemum" />
      <fx:Object imageIcon="assets/Desert.jpg" imageDesc="Desert" imageName="Desert" />
      <fx:Object imageIcon="assets/Hydrangeas.jpg" imageDesc="Hydrangeas" imageName="Hydrangeas" />
      <fx:Object imageIcon="assets/Jellyfish.jpg" imageDesc="Jellyfish" imageName="Jellyfish" />
      <fx:Object imageIcon="assets/Koala.jpg" imageDesc="Chrysanthemum" imageName="Chrysanthemum" />
      <fx:Object imageIcon="assets/Lighthouse.jpg" imageDesc="Koala" imageName="Koala" />
      <fx:Object imageIcon="assets/Tulips.jpg" imageDesc="Tulips" imageName="Tulips" />
      <fx:Object imageIcon="assets/Penguins.jpg" imageDesc="Penguins" imageName="Penguins" />
      </s:ArrayList>
      </s:dataProvider>
      </s:List>

      Actual Results:

      The vertical scroll position should be set to the end, however it remains at 0.

      Expected Results:

      The initial scroll position should be set to end.

      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: