EasyUI Forum

General Category => General Discussion => Topic started by: squidoz on September 23, 2018, 11:45:07 PM



Title: passwordbox repeating text on mobile devices
Post by: squidoz on September 23, 2018, 11:45:07 PM
HI all,

I am wondering what I am doing wrong or what I have missed with this strange behavior.

I have a login screen that works perfectly fine on a PC using Chrome Browser.

When I try to login on a mobile device (specifically Samsung android using either Chrome or Internet Browser) I am getting the alpha characters duplicated/repeated. Numeric entry has no problem, but as soon as I start entering alpha characters in my password it starts to repeat previous alpha entries.
ie
user types 123456 for password, password box contains 123456
users types 123abc, it now contains 123aababc when I reveal the password.

If I enter with the reveal text displayed, it enters perfectly, but this is a little pointless for a password box.

Why is this behavior occurring?


Title: Re: passwordbox repeating text on mobile devices
Post by: squidoz on September 24, 2018, 05:15:23 PM
I just had a look at the demo examples, and this behavior is the same.
Enter abcdefg into the password box, click on reveal password and it contains ababcabcdabcdeabcdefabcdefg


Title: Re: passwordbox repeating text on mobile devices
Post by: jarry on September 24, 2018, 07:20:15 PM
Which version of the jQuery are you using? Please try to set some configuration parameters with different values.
Code:
$('#pb').passwordbox({
  passwordChar: '*',
  checkInterval: 200,
  lastDelay: 500
});


Title: Re: passwordbox repeating text on mobile devices
Post by: squidoz on September 24, 2018, 08:12:23 PM
I just made sure I have the latest jquerymin.3.3.1

The same behavior is shown with the examples here on this site so I do not think it is the version of jquery.

https://www.jeasyui.com/demo/main/index.php?plugin=PasswordBox&theme=material-teal&dir=ltr&pitem=&sort=asc (https://www.jeasyui.com/demo/main/index.php?plugin=PasswordBox&theme=material-teal&dir=ltr&pitem=&sort=asc)

If I open that link on a Samsung S8 or S9 phone it produces the same strange behavior.
If I open on my PC then it works fine.
Numeric characters are OK, only alpha characters. I have not tried extended characters