[wp-trac] [WordPress Trac] #33601: Pasting a password on an iOS device doesn't work properly

WordPress Trac noreply at wordpress.org
Sat Aug 29 21:40:48 UTC 2015


#33601: Pasting a password on an iOS device doesn't work properly
-----------------------------+------------------------------
 Reporter:  magicroundabout  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Users            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by magicroundabout):

 So...just a quick instant update on this.

 I did try to create a patch for this that involved adding the `paste`
 event handler. This fixed the issue on the iPad, but this got complicated
 because back in Chrome on my laptop, the event was firing TWICE: once for
 `paste` and once for `keyup`, and it was getting pretty confusing.

 I took a look at #31226 which seemed to fix this for the old password
 strength meter in 4.1. In that ticket @helen mentioned the `setTimeout`
 needed to catch the value updating from the `paste` event, but it was
 ultimately fixed by @dipesh.kakadiya  changing the event handler from
 `keyup` to `input propertychange`. I wonder if there's any reason we've
 reverted from that back to `keyup`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33601#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list