Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Soft Keyboard Re-focus Issue on TMP_InputField in Unity 2021.3.36f1 on Android Devices

Discussion in 'UGUI & TextMesh Pro' started by Uaxx, Mar 20, 2024.

  1. Uaxx

    Uaxx

    Joined:
    Apr 27, 2018
    Posts:
    4
    Issue Description: On certain Android devices, (I could test specifically models from Realme and Redmi), an issue occurs where pressing the 'OK' button on the soft keyboard causes the TMP_InputField to become focused again, inadvertently triggering the soft keyboard to reappear. This issue leads to a disrupted user experience, as users expect the keyboard to disappear after submission. This problem does not occur on all the times. I found out debugging that it's like the onselect event gets queued multiple times in some occasions.

    Unity Version: 2021.3.36f1

    Affected TMP Versions:

    • Recommended Version: 3.0.8
    • Latest Pre-release: 3.2.0-pre.9