From 6414042c7378a618be4c1f13352e02e1a35aaa59 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 10 Jul 2023 16:53:15 +0900 Subject: [PATCH] [NUI] Fix not to propagate gesture from scrim Scrim should block all touch and gesture events. Therefore, gesture is also not propagated from scrim. --- src/Tizen.NUI.Components/Controls/Menu.cs | 1 + src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Tizen.NUI.Components/Controls/Menu.cs b/src/Tizen.NUI.Components/Controls/Menu.cs index 4b129bd..6677af4 100755 --- a/src/Tizen.NUI.Components/Controls/Menu.cs +++ b/src/Tizen.NUI.Components/Controls/Menu.cs @@ -529,6 +529,7 @@ namespace Tizen.NUI.Components ExcludeLayouting = true, BackgroundColor = Color.Transparent, Size = new Size(NUIApplication.GetDefaultWindow().Size), + DispatchParentGestureEvents = false, }; scrim.TouchEvent += (object source, TouchEventArgs e) => diff --git a/src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs b/src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs index 5931fab..1df0542 100755 --- a/src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs +++ b/src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs @@ -325,6 +325,7 @@ namespace Tizen.NUI.Components } return true; }; + scrim.DispatchParentGestureEvents = false; return scrim; } -- 2.7.4