https://github.sec.samsung.net/dotnet/NUIBackend/issues/56
- Stop scroll animation when ScrollTo() is called during scrolling
- Stop scroll animation when changing ScrollDirection
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
{
if (value != mScrollingDirection)
{
+ //Reset scroll position and stop scroll animation
+ ScrollTo(0, false);
+
mScrollingDirection = value;
mPanGestureDetector.ClearAngles();
mPanGestureDetector.AddDirection(value == Direction.Horizontal ?
}
else
{
+ StopScroll();
finalTargetPosition = BoundScrollPosition(childTargetPosition);
// Set position of scrolling child without an animation