4 ms·
Your test is flawed, it's triggering keyup if it's showing in the input.
by weird-eye-issue 1mo ago
Your test is flawed, it's triggering keyup if it's showing in the input.
- Dylan16807 1mo agoI go to the text box in HN and hold down a key. The letter appears instantly, then after a moment a lot more copies of the same letter start showing up rapid-fire. What are you calling flawed about my test? This happens on both Windows 10 and Linux Mint, in Firefox.
- weird-eye-issue 1mo agoOverall the correct event to listen to would be the input even not the keydown event since it handles the edge cases I mentioned earlier I never meant to infer that the keyup event is specifically what should be listened to