From: JoogabYun <40262755+JoogabYun@users.noreply.github.com> Date: Mon, 26 Sep 2022 08:37:25 +0000 (+0900) Subject: [NUI] revert "[NUI] Modify the return value of OnAccessibilityPan()." (#4599) X-Git-Tag: accepted/tizen/6.0/unified/20221109.122316~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5623567b110e2f58d3e659951d4ffaa36d2276c;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] revert "[NUI] Modify the return value of OnAccessibilityPan()." (#4599) --- diff --git a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs index 5f4cd62..5e48ca1 100755 --- a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs +++ b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs @@ -1380,7 +1380,17 @@ namespace Tizen.NUI.Components internal override bool OnAccessibilityPan(PanGesture gestures) { - return (mScrollEnabled ? OnPanGesture(gestures) : false); + if (SnapToPage && scrollAnimation != null && scrollAnimation.State == Animation.States.Playing) + { + return false; + } + + if (mScrollEnabled == true) + { + OnPanGesture(gestures); + } + + return true; } private float CustomScrollAlphaFunction(float progress)