2 ms·
I can see both viewpoints here and don’t have a strong personal view But for reference browsers fire the keypress event on keyup
by youngtaff 1mo ago
I can see both viewpoints here and don’t have a strong personal view
But for reference browsers fire the keypress event on keyup
- chrismorgan 1mo agoThe keypress event is an ancient mistake that I think never had any legitimate use case, and has been deprecated for quite some time now.
- wky 1mo ago> If supported by a user agent, this event MUST be dispatched when a key is pressed down [...] https://w3c.github.io/uievents/#event-type-keypress https://w3c.github.io/uievents/#event-type-keypress