From e5623567b110e2f58d3e659951d4ffaa36d2276c Mon Sep 17 00:00:00 2001 From: JoogabYun <40262755+JoogabYun@users.noreply.github.com> Date: Mon, 26 Sep 2022 17:37:25 +0900 Subject: [PATCH] [NUI] revert "[NUI] Modify the return value of OnAccessibilityPan()." (#4599) --- src/Tizen.NUI.Components/Controls/ScrollableBase.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs index 5f4cd62e8..5e48ca137 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) -- 2.34.1