Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Checkboxradio: change fires twice when hitting space on the widget #7378
Steps to reproduce:
At this point you will find that change fires twice, recording the value of the input's checked property in the "console".
For comparison, click on the checkbox instead. The problem is that the space bar triggers a vclick - yes, a vclick, which causes the checkboxradio code to trigger a change event. However, the input also natively triggers change in response to the spacebar. That makes two change events for each space bar press.