Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User gcallaghan's Avatar
    Join Date
    Apr 2010
    Location
    Cupertino, Ca
    Posts
    247
    Vote Rating
    0
    gcallaghan is on a distinguished road

      0  

    Default [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

  2. #2
    Sencha User
    Join Date
    Dec 2010
    Posts
    11
    Vote Rating
    0
    eeb is on a distinguished road

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    19
    Vote Rating
    0
    fermina is on a distinguished road

      0  

    Default


    I have a similar problem with this. I hope that this issue be resolved as soon as possible.

  4. #4
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    68
    Vote Rating
    0
    iamcam is on a distinguished road

      0  

    Default


    The best thing you can do is blur the field manually when you submit or tap a button
    Code:
    App.loginField.blur()
    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.
    Last edited by iamcam; 1 Mar 2011 at 3:31 PM. Reason: Additional clarification

  5. #5
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    San Diego, CA
    Posts
    43
    Vote Rating
    4
    tinyfactory is on a distinguished road

      0  

    Default


    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!

  6. #6
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    68
    Vote Rating
    0
    iamcam is on a distinguished road

      0  

    Default


    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.

  7. #7
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    San Diego, CA
    Posts
    43
    Vote Rating
    4
    tinyfactory is on a distinguished road

      0  

    Default


    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. #8
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    68
    Vote Rating
    0
    iamcam is on a distinguished road

      0  

    Default


    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. #9
    Sencha User
    Join Date
    Dec 2010
    Posts
    15
    Vote Rating
    2
    dmassiani is on a distinguished road

      0  

    Default


    hello,

    i have the same problem, for fixed this, i use myform.reset().disable() and i enable the form when is needed.

  10. #10
    Sencha User
    Join Date
    Dec 2010
    Posts
    11
    Vote Rating
    0
    eeb is on a distinguished road

      0  

    Default


    This worked! Thank you so much dmassiani!

Similar Threads

  1. Replies: 5
    Last Post: 27 Jul 2012, 1:22 PM
  2. Replies: 5
    Last Post: 2 Mar 2011, 1:08 PM
  3. [FIXED-479] .98 - Strange characters in Password field on Android
    By suzzer99 in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 6 Nov 2010, 3:19 AM
  4. password field is not defined in CSS (x-form-password)
    By vtswingkid in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Mar 2007, 5:59 PM

Thread Participants: 11

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi