-
14 Dec 2010 5:26 PM #1
[OPEN-660] Android Password Field superfocus persistance
[OPEN-660] Android Password Field superfocus persistance
Sencha Touch version tested:
- 1.0.1
- only default ext-all.css
- custom css (include details)
Platform tested against:- Android 2.1
Description:- The password field on android persists after the field has been blurred.
Test Case:
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:- none
Possible fix:- 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
Edit: I might have to eat my words on this one. In some cases this actually works to do things like dismiss the keyboard, but going back to one of my apps to re-test proves me wrong.Code:App.loginField.blur()
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.
Has a solution or work around been figured out? I have tried everything I can think of even down to hiding the form or destroying it before card switch, to forcing the blur with Sencha and regular javascript. Nothing works.
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?
-
8 Mar 2011 12:28 PM #8
Sure, it only goes away when the card containing the field goes out of view. One of our apps uses a dual login format to handle legacy accounts (one using a username, id, and password, the other just being an email + password) that users can swipe left/right on a carousel to select. If focus is on form A, but the user swipes over to form B, the Form A field will remain focused until another form field is selected or the card containing the carousel is changed out via setActiveItem(). Similar thing happens on search fields docked above an Ext.List. On, AND, one of my forms displays the field in the wrong spot if I put a docked toolbar on the screen: http://www.sencha.com/forum/showthre...xt-field-focus
-
9 Mar 2011 1:02 PM #9
hello,
i have the same problem, for fixed this, i use myform.reset().disable() and i enable the form when is needed.
-
10 Mar 2011 5:21 PM #10
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN-432] input field in Ext.List leading to unexpected behaviour (Android)
By mherger in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 27 Jul 2012, 1:22 PM -
[OPEN-536] Android 1.0RC1: Ext.form.Search in toolbar field shown twice while focused
By mrsunshine in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 2 Mar 2011, 1:08 PM -
[FIXED-479] .98 - Strange characters in Password field on Android
By suzzer99 in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 6 Nov 2010, 3:19 AM -
password field is not defined in CSS (x-form-password)
By vtswingkid in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 9 Mar 2007, 5:59 PM


Reply With Quote