Revert "[NUI] Change shouldIntercept value"
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 13 Jul 2021 03:14:40 +0000 (12:14 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 19 Jul 2021 09:01:03 +0000 (18:01 +0900)
This reverts commit 6d9b8daa4f1a466afa41cb8fb8cf7ede3990b9ec.

src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index e4acbaf241b974574f5100564a290e267a3dbc7c..3c894ba867a157fc77ef857a460794627393b190 100755 (executable)
@@ -1344,7 +1344,7 @@ namespace Tizen.NUI.Components
 
             if (panGesture.State == Gesture.StateType.Started)
             {
-                shouldIntercept = true;
+                shouldIntercept = false;
                 readyToNotice = false;
                 AttachOverShootingShadowView();
                 Debug.WriteLineIf(LayoutDebugScrollableBase, "Gesture Start");
@@ -1357,6 +1357,7 @@ 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.