Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Space keydown event issue on Windows Firefox #9678
Steps to reproduce
Tab to focus on the label and checkbox, then press space key.
What is expected?
Checkbox should be checked.
What is actually happening?
In Firefox developer edition on Windows, the check flashes and disappears. It works fine on Mac and Chrome and Edge.
Extracted from a UI library. Pressing Enter key always works. Looks like the input receive the space keydown event somehow? Not sure if it is only a browser quirk or the design should be improved. Thanks.