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

Scroller and scroll speed regarding first child

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.9.0
    • None
    • Spark: Scroller
    • Windows 7, flash player 11.7.700.202, Firefox 21

    Description

      When i change the first child of a scroller (Group or VGroup) the scroll speed with mouse wheel change.

      Try running the attached project (uncomment/comment the Group 'childrenGrp' to see difference).

      You should have a scrollbar going almost to the bottom with 1 mouse wheel when childrenGrp is commented. When childrenGrp is uncommented you need to scroll much more.

      Other problem appear when childrenGrp is commented, the paddingTop and paddingBottom on the VGroup give strange behaviour to the scroller (impossible to scroll to top or to the bottom).

      Attachments

        1. trash.fxp
          20 kB
          Jean Marie Macé

        Activity

          jim_nastiq Jean Marie Macé made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          jim_nastiq Jean Marie Macé made changes -
          Description When i change the first child of a scroller (Group or VGroup) the scroll speed with mouse wheel change.

          Try running this code (uncomment/comment the Group 'childrenGrp' to see difference):

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


          <s:Group id="grpContent" width="100%" height="100%" left="200" top="100" bottom="30" right="10">
          <s:Group id="mainGrp" width="100%" height="100%" >
          <s:Scroller id="scroller" width="100%" bottom="50" top="30" >
          <!--<s:Group id="childrenGrp" width="100%" height="100%" >-->
          <s:VGroup width="100%" height="100%" paddingTop="15" paddingLeft="20" gap="20" paddingRight="10" paddingBottom="10">
          <s:Rect width="100%" height="1200">
          <s:fill>
          <s:SolidColor color="#ff0000"/>
          </s:fill>
          </s:Rect>
          </s:VGroup>
          <!--</s:Group>-->
          </s:Scroller>
          </s:Group>
          </s:Group>
          </s:Application>
          When i change the first child of a scroller (Group or VGroup) the scroll speed with mouse wheel change.

          Try running the attached project (uncomment/comment the Group 'childrenGrp' to see difference).

          You should have a scrollbar going almost to the bottom with 1 mouse wheel when childrenGrp is commented. When childrenGrp is uncommented you need to scroll much more.


          Other problem appear when childrenGrp is commented, the paddingTop and paddingBottom on the VGroup give strange behaviour to the scroller (impossible to scroll to top or to the bottom).

          jim_nastiq Jean Marie Macé made changes -
          Field Original Value New Value
          Attachment trash.fxp [ 12586084 ]
          jim_nastiq Jean Marie Macé created issue -

          People

            Unassigned Unassigned
            jim_nastiq Jean Marie Macé
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: