Skip to content

Checked radio does not display properly #5672

@swiing

Description

@swiing

Description

A radio button is expected to be visually differentiated when checked.
It is not the case with @primer/react v37.11.2

Steps to reproduce

import { Radio, RadioGroup } from "@primer/react";

export default function App() {
  return (<RadioGroup name="type">
    <Radio value="foo" checked />
    <Radio value="bar" />
  </RadioGroup>)
}

CodeSanbox

Version

v37.11.2

Browser

Edge

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreact

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions