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

Dispatch Scroll Events either from Scroller or (better) from viewport

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Spark: Scroller
    • None

    Description

      I am trying to implement some custom scrolling behaviour (specifically a pull to refresh implementation similar to http://www.riagora.com/2011/05/pull-down-to-refresh/ ) and I am very surprised to find out that the only way I can get information on the scroll position of the view port is to add a property change event listener to the dataGroup of the list, check the property for the magic string of "verticalScrollPosition" and then get the actual position. Dispatching a ScrollEvent of some sort will allow me to write much neater and resilient code.

      Attachments

        Activity

          People

            Unassigned Unassigned
            roaders Giles Roadnight
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: