Radio button doesn't visually focus when tabbed to.
Open
- Dominant language
- TypeScript
- Stars
- 92
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
**Bug**
Radio widget does not apply the "focused" class when focused.
**Code**
```
...
onBlur && onBlur()}
onchange={(event: Event) => {
event.stopPropagation();
const radio = event.target as HTMLInputElement;
onValue(radio.checked);
}}
onfocus={() => onFocus && onFocus()}
onpointerenter={() => onOver && onOver()}
onpointerleave={() => onOut && onOut()}
/>
```
**Expected behavior:**
focus.isFocused('root') is true and applies the class
**Actual behavior:**
focus.isFocused('root') is always false because it is, indeed, the input that gets the focus.
Contributor guide
Assessment
This issue has not been assessed yet.