I'm finding it hard to come up with creative titles for all these issues that are similar but different. This is sort of a combination of #461918: User Login Browser Auto-populate and #903122: Autofill can cause both password field value and password field label to appear concurrently. - caused by the former but related to the latter.
Anyway the expression if ($field != document.activeElement)
is always true (in Firefox at least) because $field is a collection and document.activeElement is an object. This means that in Firefox when you focus a compact form field the label fades out but fades back in immediately after. The solution is to test $field[0]
Comment | File | Size | Author |
---|---|---|---|
compact_forms_chromefix.patch | 692 bytes | mstrelan |
Comments
Comment #1
mstrelan CreditAttribution: mstrelan commentedThis isn't actually major unless you're mucking around with additional code that I forgot I was testing out, so it was really an accident that I found this logic error.
Comment #2
sunThanks for reporting, reviewing, and testing! Committed to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.