[NUI] Fix not to block touch event by Scrollbar (#2845)
authorJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 6 Apr 2021 14:47:16 +0000 (23:47 +0900)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 20 Apr 2021 06:13:00 +0000 (15:13 +0900)
Now, Scrollbar blocks touch events to ScrollableBase's Contents.

Since Scrollbar does not support Handler mode now, Scrollbar's
EnableControlState is set to be false not to catch TouchEvent.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
src/Tizen.NUI.Components/Controls/Scrollbar.cs

index 53c05aa..e5f6856 100755 (executable)
@@ -283,6 +283,8 @@ namespace Tizen.NUI.Components
 
             WidthResizePolicy = ResizePolicyType.FillToParent;
             HeightResizePolicy = ResizePolicyType.FillToParent;
+
+            EnableControlState = false;
         }
 
         /// <inheritdoc/>