Baedda / floating-form-labels

jQuery plugin that makes inline form labels usable again.
28 stars 18 forks source link

Fix autofill fields on pageload #18

Closed tomm1996 closed 6 years ago

tomm1996 commented 6 years ago

Fix for #12. This will not hover in the autofill dialog, but I don't think that's a critical feature as the user has to click either way, which will fire the change event on the inputs automatically.

image

tomm1996 commented 6 years ago

apparently, this bugs in non-webkit browsers.

Error: Syntax error, unrecognized expression: unsupported pseudo: -webkit-autofill

I will submit another fix for that soon

Baedda commented 6 years ago

@tomm1996 please rename the function in _isWebkitAutofilled to make clear that this is a browser fix and order your new method under the _isFloated method. And then if @jChris85 is okay with this too, I will finally merge this :)