Skip to content

Commit

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

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

Expand Down

0 comments on commit 5b0413e

Please sign in to comment.