14 Dec 2010 5:26 PM #1
[OPEN-660] Android Password Field superfocus persistance
Sencha Touch version tested:
- only default ext-all.css
- custom css (include details)
Platform tested against:
- Android 2.1
- The password field on android persists after the field has been blurred.
See this URL : https://ifinancials.com
Steps to reproduce the problem:
- create an app with a card layout
- Create a form card with a password field
- open the app with an android 2.1 device
- focus on the password field
- tap outside of the password field
- change the card
The result that was expected:
- At least on the card change the field should be hidden
The result that occurs instead:
- the android superfocus overlay persisted on card change
Screenshot or Video:
Debugging already done:
- perhaps force a blur? for focus on a hidden field? somehow get the focus off the field to remove android's superfocus
17 Jan 2011 3:14 PM #2
Has anyone found a workaround for this bug? I tried setting focus to another field and bluring the field before a messagebox is opened but neither seem to work.
25 Jan 2011 4:23 PM #3
I have a similar problem with this. I hope that this issue be resolved as soon as possible.
1 Mar 2011 1:45 PM #4
The best thing you can do is blur the field manually when you submit or tap a button
Last edited by iamcam; 1 Mar 2011 at 3:31 PM. Reason: Additional clarification
8 Mar 2011 11:24 AM #5
I have this same problem, but it happens on a regular text input, and only on the HTC Desire / Incredible running Android 2.1 / 2.2 right now. Other devices it appears to be working.
I'm using the latest build from the repository, 1.0.3.
This one is driving me crazy!
8 Mar 2011 11:53 AM #6
The problem is that Android takes over drawing the form field on focus. I've tried controlling it, but it's completely outside the DOM.
8 Mar 2011 12:16 PM #7
The strange thing for me is, if I remove the cardswitch flow, and interrupt the the form submit with a return false; on the "beforesubmit" event, the keyboard will hide and the text field will blur.
I'm running a few tests right now, but I wonder if this has to do with the card switch triggering before the text field blurs (even though I call .blur() on the text field beforesubmit). This could be working in conjunction with Android taking over the text field drawling. Did you figure out how to give control back to the DOM?
By mherger in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 27 Jul 2012, 1:22 PM
By mrsunshine in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 2 Mar 2011, 1:08 PM
By suzzer99 in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 6 Nov 2010, 3:19 AM
By vtswingkid in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 9 Mar 2007, 5:59 PM