- Home /
Using back button to close keyboard on Android seems bugged
Steps to reproduce:
Create an InputField on and android device (Im using a one plus 6 with android 10).
Tap input field to open keyboard.
Tap the back button.
What happens:
Keyboard stays open.
Tapping on screen seems to do nothing for multiple seconds as well as home button or clicking on other input fields does not work.
Phone vibrates a bit after a while and nothing can be done until I tap another input field again.
What should happen:
Keyboard should close.
Questions:
Can I somehow capture the back button press when keyboard is open. "Input.GetKeyDown(KeyCode.Escape)" Does not do this.
Is this fixed in a newer version of unity or is this intended behaviour? What can be done about this?
I have this problem too, I did some testing and concluded the following: - It only appears when "Hide $$anonymous$$obile Input" is enabled. - It happens on both textmesh pro input fields and regular input fields - It happens both in Unity 2019.3.11 and 2019.3.14
Also tested on Android 10
Still no solutions? Is it possible to escalate this issue?