Why my TouchScreenKeyboard minimizes and open at Random time

I am creating an android game in which i allow user to enter some text in textarea…user needs to touch the textArea for opening the touchscreenKeyboard…Now my problem is the touchscreen keyboard minimizes automatically after random time ,Only in some devices…
I check the logcat there is no error…
keyboard minimizes and open at random delay even when no input is given to keyboard.

And it also Takes time open the keyboard at start.
pls help.

its my script that don’t cause problem :

 var stringToEdit : String[];
    function Start()
    {
    	stringToEdit = new String[1];
    	for (var i = 0; i < stringToEdit.Length; i++)
    	{ stringToEdit *= String.Empty; }*

}
// Read From Input
function OnGUI()
{

  • GUI.BeginGroup (new Rect(SW/16,10,SW/4,SH/10));*
  • for (var i = 0; i < stringToEdit.Length; i++)*
  • {*
    _ stringToEdit = GUILayout.TextField_
    _ (stringToEdit*, 10, GUILayout.Width(SW/4),
    GUILayout.Width(SW/4),
    GUILayout.Height(SH/10));
    }
    GUI.EndGroup();
    }
    // Write input to a variable - call this function when press a button*
    function Refister()
    {
    * var NameString: String;
    for (var i = 0; i < stringToEdit.length; i++)
    { NameString = NameString + stringToEdit.ToString(); }
    }*

    i hope it helps you . its work on mobile fine :slight_smile:_