[wp-trac] [WordPress Trac] #33398: Feature detect best event to use on password fields
WordPress Trac
noreply at wordpress.org
Tue Aug 18 03:11:53 UTC 2015
#33398: Feature detect best event to use on password fields
----------------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: javascript, administration |
----------------------------------------+-----------------------------
Following #33385 the user profile JavaScript uses `keyup` events to update
the password strength meter and keep the password fields in sync.
Not all input methods update fire the keyup event so we use feature
detection to detect the optimal event, I propose:
* `input`
* `keyup`
* `change`
The optimal event to use is subjective and up for discussion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33398>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list