Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Location
    France
    Posts
    1
    Vote Rating
    0
    remi.grumeau is on a distinguished road

      0  

    Default Unanswered: Android4-only stock browser strange behavior with input text

    Unanswered: Android4-only stock browser strange behavior with input text


    First post here, this is not related to Sencha directly, but as far as i tested, Sencha suffers this same issue too.

    Don't know if someone already saw this bug. Note that this only happens with Android 4.x stock browser. It has been tested successfully with Chrome on Android 4, stock browser on previous versions, iOS, Blackberry OS6 & 7, Playbook, ...
    Look at http://www.hello-gurus.com/labs/sandbox/plain-form.html It works fine in the simulator (seehttp://cl.ly/image/1z3G1T2y2p2c) but goes totally wrong on the latest GalaxyTag (seehttp://cl.ly/image/1O123A3d0y3q)
    Normal behavior should be text staying on the right. A padding on the left keeps the text to overlap with label. Input is 100% width so active zone is on the entire width. That's how it works on every other browser, where Android stock one aligns it on the left only when focus! Plus, it makes the disappear even if the input has a transparent background :S Even worse, sometimes its value get empty on blur x_X
    This is getting me insane! Any solution or anything i may give a try?
    Thanks a lot!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,644
    Vote Rating
    899
    Answers
    3574
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You can try switching to Chrome, much better browser.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

Thread Participants: 1

Tags for this Thread