Search Issue Tracker

Fixed in Unity 2017.2



Found in


Issue ID




When pressing outside the touchscreen keyboard on Android devices, wasCanceled state is false




Priority: 4Not yet prioritized for a release


Severity: 3Workaround is possible

It is impossible to distinguish between pressing "DONE"/"OK" on the touchscreen keyboard and pressing outside the keyboard area on Android devices. Pressing outside the keyboard is an indication of the user wanting to cancel.

Reproduction steps:
1. Open the attached project
2. Build on Android device
3. Press outside the touchscreen keyboard
4. Notice that the canceled state is false

Note: When clicking the back button canceled state is true, but the done state is also true.

Fixed in: 2017.2.0b2
Introduced new API: TouchScreenKeyboard.status which returns an enum (Visible, Done, Canceled, LostFocus) for keyboard actions.

Comments (25)

  1. 4f7b4cda8bea614f72c45d60d78a8d3b?d=mm


    Mar 19, 2018 13:38

    Severe problem but still not fixed in Unity 5.6.x!

  2. 3c3f387937a6411d72609d884e969f2b?d=mm


    Feb 16, 2018 12:45

    Correction to the previous comment. Bug is fixed in the Unity if 'status' property is using. But NGUI UIInput class uses old properties.

  3. 3c3f387937a6411d72609d884e969f2b?d=mm


    Feb 16, 2018 12:28

    Have this issue in 2017.3.0f3

  4. 0392952f7d73db01a775f193233b465a?d=mm


    Nov 03, 2017 17:42

    Hope this fix could be merge into 5.6.4

  5. 87b2c462d01d2b9c3e720feb2294b054?d=mm


    Jul 03, 2017 13:26

    Not fixed in 5.6.1f1

  6. 9c00ae20670f7e6193c7c47f95d2955c?d=mm


    Jun 21, 2017 06:42

    Has this fix been released yet?
    I tried to find information about it, but could not find anything in current patches or releases.

  7. 71cb5bdc73bba20d73fc4c24f0fdbdfe?d=mm


    Jun 15, 2017 12:24

    So in which version this bug is fixed?

  8. 7792815d04a025f82d67105ef95053a0?d=mm


    Jun 01, 2017 14:27

    Why voting was disabled? Bug is not fixed in the latest version.

  9. 7792815d04a025f82d67105ef95053a0?d=mm


    May 29, 2017 15:19

    Have this problem too. Why this bug so long not solved?

  10. 9091efa52ba38d0058f62916d89bb6a2?d=mm


    May 03, 2017 09:18

    @Unity please see my comment DurbsDev Sep 20, 2016 09:55 which I believe is the appropriate way forward to address this issue.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.