Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

TextMesh Pro TMPro Input Field "Restore On ESC Key" on mobile does not work

Discussion in 'UGUI & TextMesh Pro' started by hertelukas, Nov 4, 2019.

  1. hertelukas

    hertelukas

    Joined:
    May 20, 2018
    Posts:
    1
    The normal behavior of people I asked is that they close their keyboard with the "Back" key on Android devices. But if they do so, the input gets restored, not what I want. The back key in Unity is linked to the ESC Key, so I deactivated "Restore On ESC Key" - But that changes indeed the behavior on PC but not on mobile devices. Is this a bug or am I doing something wrong and is there an easy way to solve this?

    My Control Settings:
    On Focus Select All - False
    Reset On Deactivation - False
    Restore On Esc Key - False
    Hide Mobile Input - True
    Everything else is set to false.

    I am using Unity 2019.2.11
     
    pktony2011 and ltomov like this.
  2. ltomov

    ltomov

    Joined:
    Aug 3, 2017
    Posts:
    96
    I'm struggling with the same, it seems like the "Restore On Esc Key" is just ignored on mobile.

    Is there any way to prevent the ESC key from deleting the entered input?
     
  3. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,127
    Bump, same here. Restore on Esc is ignored - pressing the little down arrow on the Google keyboard to minimize the keyboard causes the content to be restored. It is very frustrating, as its easy to press especially when typing a message in horizontal mode.
     
  4. softconstruct

    softconstruct

    Joined:
    Jun 22, 2020
    Posts:
    2
    is anyone fixed this?
     
  5. Charbel_Globalistic

    Charbel_Globalistic

    Joined:
    Jan 18, 2023
    Posts:
    7