Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Keyboard not staying up even with focus event - android

$
0
0

Mobile Titanium 3.1.2 Android 2.3.3 Device: Samsung Galaxy Player Mac OS X

I am having a problem with my textfields and the keyboard on android. When the page opens, the keyboard is being shown on a textfield no problem. And when the scrollview is tapped the keyboard is blurred (which I want). But when I try and click on a textfield to regain keyboard focus, it flashes for a second and then disappears. I've tried setting the softKeyboardOnFocus = Ti.UI.Android.SOFT_KEYBOARD_SHOW_ON_FOCUS; property on the textfields, and then calling an on click or an on focus event listener with textfield.focus(); , however the keyboard still disappears. I've even tried to first blur the textfields and then refocus, with no change. How do I get the keyboard to stay showing?


Viewing all articles
Browse latest Browse all 8068

Trending Articles