Closed (fixed)
Project:
Compact Forms
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2010 at 00:58 UTC
Updated:
23 Jan 2011 at 05:50 UTC
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 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.