Skip to content

Commit

Permalink
Fixed #2781 - Checkbox does not work as expected when pressing the sp…
Browse files Browse the repository at this point in the history
…ace key
  • Loading branch information
mertsincan committed Apr 21, 2022
1 parent 288b62b commit 9957cbe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/lib/checkbox/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export const Checkbox = React.memo(React.forwardRef((props, ref) => {

inputRef.current.checked = !checked;
inputRef.current.focus();

event.preventDefault();
}
}

Expand Down

0 comments on commit 9957cbe

Please sign in to comment.