Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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,123
    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?