Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Unable to use the Space key to toggle values in Checkbox and Radio components #169

Open
ividic opened this issue Mar 3, 2020 · 1 comment

Comments

@ividic
Copy link
Contributor

ividic commented Mar 3, 2020

馃悰 Bug Report

While it works in the Reakit Checkbox component, using the Space key to toggle the value in Checkbox/Radio doesn't work unless it's wrapped in a FormCheckLabel component. Using htmlFor doesn't work either.

Expected behavior

Toggle Checkbox/Radio value by pressing Space

Link to repl or repo (highly encouraged)

https://codesandbox.io/s/crazy-mcclintock-84ub3 - index.html and radio.html

@gregberge
Copy link
Member

Hello @ividic, it is a bug. I don't have time to fix it, any PR welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants