Bug 187606
| Summary: | Multiple presses of spacebar on once checked and focused radio button does not fire subsequent events | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jason Williams <jase.williams> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez, wenson_hsieh |
| Priority: | P2 | ||
| Version: | Safari 11 | ||
| Hardware: | Mac | ||
| OS: | OS X 10.11 | ||
| URL: | https://codepen.io/jasonwilliams1/pen/XBbZjL | ||
Jason Williams
Steps to reproduce the problem:
1. Navigate to https://codepen.io/jasonwilliams1/pen/XBbZjL
2. Focus on the textbox
3. Press shift-tab to move focus into the radio button group
4. Press spacebar to check the radio button
5. Press spacebar to redundantly check the radio button
6. observe no additional click event in the console
What is the expected behavior?
Right now its not clear, I don't see this mentioned in the specification either.
What went wrong?
I should be expecting additional click events in the console, but only 1 fires
Firefox, Edge and Internet Explorer fire multiple events for each time i press spacebar
Chrome version: 67.0.3396.99 Channel: stable
OS Version: 10.0
Flash Version:
Arises from: https://github.com/facebook/react/issues/4854#issuecomment-404543424
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jason Williams
Affects Safari Version 11.1 (11605.1.33.1.3)
Jason Williams
WHATWG issue raised: https://github.com/whatwg/html/issues/3817