[NUI] TextField and TextEditor have Focusable set to true.
authorjoogab.yun <joogab.yun@samsung.com>
Fri, 1 Apr 2022 09:12:57 +0000 (18:12 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 20 Apr 2022 08:38:08 +0000 (17:38 +0900)
If Focusable is true, it can receive focus when moved to the keyboard.

src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs

index 4f151fc395e18ffc2191702d7b6f95416c045b8d..f01219b15992466a2234aa8c30785b5cf1c517e0 100755 (executable)
@@ -86,6 +86,7 @@ namespace Tizen.NUI.BaseComponents
             {
                 SetVisible(false);
             }
+            Focusable = true;
         }
 
         /// <summary>
index e3a808bf0287c668f08db8acbdd559bfafa03324..e9469a3cb794c7b84c5f41d70a56bd106b2b91d7 100755 (executable)
@@ -77,6 +77,7 @@ namespace Tizen.NUI.BaseComponents
             {
                 SetVisible(false);
             }
+            Focusable = true;
         }
 
         internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn, bool shown = true) : base(cPtr, cMemoryOwn, null)
@@ -85,6 +86,7 @@ namespace Tizen.NUI.BaseComponents
             {
                 SetVisible(false);
             }
+            Focusable = true;
         }
 
         internal TextField(TextField handle, bool shown = true) : this(Interop.TextField.NewTextField(TextField.getCPtr(handle)), true)