3 ms·
Presumably browsers could replace a paste with n “key down” and “key up” events, but I bet that causes other issues elsewhere and doesn’t seem like the right so
by lxgr 3y ago
Presumably browsers could replace a paste with n “key down” and “key up” events, but I bet that causes other issues elsewhere and doesn’t seem like the right solution.
Ultimately, misguided developers or PMs will always find a way to make our lives harder if they set their mind to it; let’s not make it an arms race.
That said, for password managers and known-bad sites, your proposal sounds tempting!
- kps 3y ago> Presumably browsers could replace a paste with n “key down” and “key up” events Or a single text input event. Key events will get you nowhere in the presence of CJK IMEs, for instance.
- lxgr 3y agoYou know that, but do the developers of broken password input fields?
- kps 3y agoThe question is whether I know it despite not being a front-end developer, or because of not being a front-end developer. (Around 8–10 years ago I worked on keyboard input for ChromeOS, and way too much of it was trying to emulate 1995 Windows Netscape so that most sites would mostly work.)
- deleted 3y ago[deleted]