[NUI] Change shouldIntercept value
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 13 Jul 2021 02:21:46 +0000 (11:21 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 19 Jul 2021 09:01:03 +0000 (18:01 +0900)
src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index 3c894ba..e4acbaf 100755 (executable)
@@ -1344,7 +1344,7 @@ namespace Tizen.NUI.Components
 
             if (panGesture.State == Gesture.StateType.Started)
             {
-                shouldIntercept = false;
+                shouldIntercept = true;
                 readyToNotice = false;
                 AttachOverShootingShadowView();
                 Debug.WriteLineIf(LayoutDebugScrollableBase, "Gesture Start");
@@ -1357,7 +1357,6 @@ namespace Tizen.NUI.Components
             }
             else if (panGesture.State == Gesture.StateType.Continuing)
             {
-                shouldIntercept = true;
                 if (ScrollingDirection == Direction.Horizontal)
                 {
                     // if vertical shadow is shown, does not scroll.