Hi, I am using native text fields to make a login form. When the user selects a field, I use corona to move that field to the top of the screen, but now I am having a problem:
When the user presses submit, I can move the field over to its starting position, but if the user presses the android back key, the keyboard hides, and the field stays on top.
I have tried using the “key” event listener, but that back event is used by the keyboard, and can’t be detected.
Neither “key” nor “userInput” send any event when the user closes the keyboard by using the back key.
I know that I can use setKeyboardFocus(nil) to hide the keyboard, but is there any getKeyboardFocus() or similar to know if the user has hidden the keyboard manually?