EasyUI Forum
May 09, 2024, 01:21:51 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: passwordbox repeating text on mobile devices  (Read 6570 times)
squidoz
Newbie
*
Posts: 10


View Profile Email
« 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?
Logged
squidoz
Newbie
*
Posts: 10


View Profile Email
« Reply #1 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #2 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
});
Logged
squidoz
Newbie
*
Posts: 10


View Profile Email
« Reply #3 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

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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!