Hello Guest

Author Topic: Content Length / Visible Area Limits Behavior  (Read 3301 times)

zettam

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Content Length / Visible Area Limits Behavior
« on: April 01, 2014, 03:07:36 pm »
Scrollable Area behaves more correct when the area length is set to 1.
When it is set to a higher number, the content can be fully dragged out of it's limits (when released it goes back of course).

When we check similar systems (like apple's native scroll behavior) the limits should not work like how the scroll works normally. It has sort of a slowdown/ratio of drag, which has the same drag direction but different speed, which decreases ven more when the finger goes away from the limited side.

This behavior can be observed when the "visible area length" is 1 - there is a slowdown in the scroll which corrects/balances the "free drag" issue.

To temporarily fix this, I'm just setting the content length to contentLength-actualVisibleAreaLength, and settinh the visible area lenght to somewhere between 0.6 and 1. Could be good if the actual functionality worked like this --