Skip to content

Commit

Permalink
Fix #3054: RadioButton prevent click propagation (#3058)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Jul 13, 2022
1 parent f80c1fe commit 1de8ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/radiobutton/RadioButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const RadioButton = React.memo(React.forwardRef((props, ref) => {

inputRef.current.checked = !props.checked;
DomHandler.focus(inputRef.current);
e.preventDefault();
}
}

Expand Down

0 comments on commit 1de8ad5

Please sign in to comment.