Odd behavior on android when enter email address in input box

2 posts, 0 answers
  1. Kenneth
    Kenneth avatar
    104 posts
    Member since:
    Apr 2014

    Posted 27 Oct 2016 Link to this post

    Cordova hybrid app, android s6 active model samsung sm G890A, android ver 6.0.1

    I have a simple login screen with username and password input boxes. The username is an email address.

    When the user types the @ symbol, the next character typed is lost and the first character of the email address is added to the beginning,

    for example:

    If the user types "myemail@" then they type any letter the text will change to "mmyemail@" and starting from the second character the remainder of the word will be be underlined (like a hyperlink).

    Subsequent characters typed are appended to the end of email address as expected.

    I have no handlers to modify the input box on key press or lost focus, it is just a simple form with two inputs and a submit button.

    It works fine on an android S3 and an apple iphone and an ipad mini.

    Since an underline appears under the second character to the end of the word it appears to me that the android system is trying to hyperlink the field because it recognizes it as an email address with the appearance of the @ sign.

    This behavior makes it impossible to enter the username correctly, you have to cursor over to delete the first character then insert the missing character after the @.  It's crazy. 

    I don't know if this is a cordova issue (on version 6 of android) but does anyone have any ideas on how to fix this?




  2. Tsvetina
    Tsvetina avatar
    2101 posts

    Posted 01 Nov 2016 Link to this post

    Hello Kenneth,

    Is it possible that this is the device auto-correct trying to change the word? Have you tried setting the input type to email, so it doesn't get auto-corrected? At least, this is how the input behaves on my side on a Huawei P9 Lite running Android 6.0.

    Telerik by Progress
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
Back to Top