[NUI] Let scroll again when displacement for OutOfBound effect become 0
authorseungho <sbsh.baek@samsung.com>
Thu, 3 Dec 2020 06:59:45 +0000 (15:59 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 8 Dec 2020 06:23:12 +0000 (15:23 +0900)
Signed-off-by: seungho <sbsh.baek@samsung.com>
src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index 2ce075b..cd50bd6 100755 (executable)
@@ -1073,7 +1073,10 @@ namespace Tizen.NUI.Components
             {
                 // check if reaching at the top.
                 if ((int)finalTargetPosition != 0)
+                {
+                    isVerticalShadowShown = false;
                     return;
+                }
 
                 // save start displacement, and re-calculate displacement.
                 if (!isVerticalShadowShown)
@@ -1100,7 +1103,10 @@ namespace Tizen.NUI.Components
             {
                 // check if reaching at the bottom.
                 if (-(int)finalTargetPosition != (int)maxScrollDistance)
+                {
+                    isVerticalShadowShown = false;
                     return;
+                }
 
                 // save start displacement, and re-calculate displacement.
                 if (!isVerticalShadowShown)