Skip to content

Comment on P99 0 ms* autocomplete for 240M domain namesparent

Comments

I can see both viewpoints here and don’t have a strong personal view

But for reference browsers fire the keypress event on keyup

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

The keypress event is an ancient mistake that I think never had any legitimate use case, and has been deprecated for quite some time now.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.