Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (keyboard)
Viewing all articles
Browse latest Browse all 352

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 352

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>