In-Field-Labels-jQuery-Plugin icon indicating copy to clipboard operation
In-Field-Labels-jQuery-Plugin copied to clipboard

Suddenly label is not hidden in chrome with autocomplete anymore

Open p4004 opened this issue 12 years ago • 4 comments

Today I noticed that in chrome, if login form is autocompleted, the password field label is not being hidden. It worked well some time ago, but today not anymore. Maybe this could be related with latest Chrome update?

I couldn't think how I could create a fiddle for autocompleted form, but here is the "evidence":

image

And I am using the pollDuration property:

$(".label-login").inFieldLabels({ pollDuration: 50 });

In other browsers the plugin seems to work fine.

p4004 avatar Jun 02 '14 13:06 p4004

Am having the same issue. Oddly enough, a click anywhere on the page hides the label. Been trying all sorts of jQuery/JS hacks, but just can't to get the label on password field to hide, if autocomplete is enabled in the browser.

husainhk avatar Jun 16 '14 07:06 husainhk

I'd be curious if using something like this would proved a better fix for this issue than the current polling options: https://github.com/tbosch/autofill-event If either @husainhk or @p4004 want to try it and report back, that would be great.

dcneiner avatar Jun 17 '14 05:06 dcneiner

I tried this library but it did not help, the same problem remains. I also noticed one interesting fact: if I come to the page or refresh it by clicking refresh button beside Chrome url bar, the label is not hidden. However if I refresh the page using F5 keyboard key, the label is hidden. This is not related whether I use mentioned library or not.

p4004 avatar Jul 01 '14 06:07 p4004

Have you considered listening for the input event?: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers.oninput I've had some success with it.

JohnMarkT avatar Aug 27 '14 15:08 JohnMarkT