Re: [w3c/uievents] Can KeyboardEvent.repeat ever be true for a keyup event? (Issue #396)

Shrinivassab left a comment (w3c/uievents#396)

I observed the same behavior, repeat is always **false** for _keyup_ events in my tests too. I agree that adding a note like `repeat is always false for keyup events` would clear up the ambiguity.

Your earlier phrasing 'repeat reflects whether the key was held long enough to trigger repetition before release' is technically correct, but since keyup only fires on release (when repetition stops), the simpler note might avoid confusion. Please share your thought?

![Image](https://github.com/user-attachments/assets/94eeb621-b357-4c0c-93bd-1d612c9c67c8)

. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/396#issuecomment-2994375806
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/396/2994375806@github.com>

Received on Sunday, 22 June 2025 18:55:30 UTC