(ScrollView) Panning is disabled if ScrollTo is called while panning 74/24174/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 19 Jun 2014 13:36:27 +0000 (22:36 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:47:13 +0000 (18:47 +0100)
[problem]     If application calls ScrollTo while we're panning we go into an incorrect state.
[cause]       When we're panning, and the application calls ScrollTo, swiftly followed by a call
              to disable scroll-sensitivity, the panning value is never cleared.
              When scroll-sensitivity is enabled, we start animating to a wrong position.
              Also trying to use the property value when we set sensitivity which can be out-of-date.
[solution]    Clear the panning value when we want to animate to another position.
              Use event-side panning value when changing scroll-sensitivity.

Change-Id: I3cc2200839ad3a2ec1fc705f542bd8df41502462
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>

No differences found