Skip to content

Commit cb9afb1

Browse files
authored
give radio position relative so the hidden input is contained
1 parent 9723225 commit cb9afb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@react-spectrum/s2/src/Radio.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ interface RenderProps extends RadioRenderProps, ContextProps {}
5050

5151
const wrapper = style({
5252
display: 'flex',
53+
position: 'relative',
5354
columnGap: 'text-to-control',
5455
alignItems: 'baseline',
5556
font: 'control',

0 commit comments

Comments
 (0)