Search Unity

Bug Inputfield caret moves to the beginning of the input

Discussion in 'Editor & General Support' started by GadOleg, Oct 5, 2021.

  1. GadOleg

    GadOleg

    Joined:
    Nov 13, 2019
    Posts:
    58
    Hello!
    I use a regular InputField that comes bundled with Unity. When you enter text in this field on your phone (android), Caret begins to move erratically. For example, by entering "abcdef.." in order, Caret can jump to the beginning of the input after any character. This is extremely inconvenient.
    Has anyone encountered a similar problem?
     
  2. GadOleg

    GadOleg

    Joined:
    Nov 13, 2019
    Posts:
    58
    Unfortunately, when I created the question, I did not know that this problem does not manifest itself on the TMP_Input Field.

    But I had another question: on the InputField, it was possible to check whether the keyboard was shown or not using the touchScreenKeyboard!= null. But how to check if the keyboard is shown at TMP_Input Field?