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

Update Scroller OverScroll Behavior For Android

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.9.0
    • None
    • Spark: Scroller
    • Android 4.x+, all versions of Flex

    Description

      In Android 4.x and above, the default scroll behavior is not the elastic/bounce-back behavior found in iOS (thanks to lawsuits from Apple). Currently, the Spark Scroller uses the iOS behavior and looks out of place on Android.

      Better explanation:
      In iOS, if you scroll and it hits the edge of the viewport, the page keeps scrolling but encounters friction so that the further you go away from the edge, the slower it scrolls. When you let go, the viewport snaps back to its limits. This is currently how the Spark Scroller always works.

      In Android, if you scroll and hit the edge, the viewport stops moving. A blue glow appears at the edge of the viewport that gets larger and brighter as you try to scroll further from the edge. If you stop moving for a set of time or lift your finger from the screen, the glow fades away.

      The scrollbar currently mimics iOS and Android 2.x behavior, and even seems to mimic the skin of Android 2.x. It'd be great if the scroller, a fundamental piece of any app, could be updated to fit more in line with recent versions of Android

      Attachments

        Activity

          People

            Unassigned Unassigned
            josh.janusch Josh Janusch
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: