diff --git a/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs b/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs index 34e7735bf3a..951381118c6 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs @@ -1144,12 +1144,6 @@ internal IntPtr GetPtrfromView() internal void RemoveChild(View child) { - // If the view had focus, it clears focus. - if (child == FocusManager.Instance.GetCurrentFocusView()) - { - Tizen.Log.Debug("NUI", $"ClearFocus due to View id:({child.ID}) removed from scene\n"); - FocusManager.Instance.ClearFocus(); - } // Do actual child removal Interop.Actor.Remove(SwigCPtr, View.getCPtr(child)); if (NDalicPINVOKE.SWIGPendingException.Pending) diff --git a/src/Tizen.NUI/src/public/Common/Layer.cs b/src/Tizen.NUI/src/public/Common/Layer.cs index 828ba478474..eadf02152ea 100755 --- a/src/Tizen.NUI/src/public/Common/Layer.cs +++ b/src/Tizen.NUI/src/public/Common/Layer.cs @@ -348,12 +348,6 @@ public override void Remove(View child) Tizen.Log.Error("NUI", "You have deleted a view that is not a child of this layer."); return; } - // If the view had focus, it clears focus. - if (child == FocusManager.Instance.GetCurrentFocusView()) - { - FocusManager.Instance.ClearFocus(); - } - Interop.Actor.Remove(SwigCPtr, View.getCPtr(child)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();