17 May 2012 2:45 AM #1
Android and passwordfield/textfiels superfocus
Hi guys I have various problems on Android with Sencha 1.1 (for now I can't upgrade to version 2).
I think are all related to the same problem..the focus!!!
First of all seems that passwordfield get a sort of superfocus that never goeas away when I submit the form, this caus for example if the login goes wrong that the alert message appears below the password field.
This happens on smartphone (galaxy s on android 2.3.4)
in Tablet (galaxy tab with android 3.1) the problem is worse because when I tap on the text the whole panel disappear except from the filed I've tapped and this happens also with textfield. If I re-tap once or twice the panel re-appear
that made me crazy!!!!
I notice that the field has a sort of highlited border, just the password field in smartphone and both the textfield and passwordfield in tablet.
I tried some trick I've found in the forum such blur the field, but they doesn't work for me, nobody tried a different approach based on css??? because I think that the filed assume some strange z-index
Anyway any hekp would be appreciated
21 May 2012 6:25 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Android has this bug that fields seem to always be visible after you focus and blur them.
Do note that we don't support Android 3.xMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
21 May 2012 7:52 AM #3
Thanks Michell, I've tried a simple form using sencha2 and it seems that this problem's fixed, maybe just because the keyboard go down correclty and the field lost the focus. I'm evaluating the cost of migration.
When you say you don't support Android 3.x do you mean in sencha touch 1.x or also in 2.0?