[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>
Thu, 3 Dec 2020 08:07:58 +0000 (17:07 +0900)
Signed-off-by: seungho <sbsh.baek@samsung.com>
src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index 2cf360d..d5e8440 100755 (executable)
@@ -1128,7 +1128,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)
@@ -1155,7 +1158,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)