Skip to content

Commit

Permalink
fix(Button): remove e.preventDefault in keyDown method
Browse files Browse the repository at this point in the history
  • Loading branch information
bfbiggs authored and pauljeter committed Aug 26, 2019
1 parent 8bc25b5 commit 11673b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion react/src/lib/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class Button extends React.Component {
e.charCode === 32 || e.charCode === 13) {
handleClick && handleClick(e, index);
onClick && onClick(e);
e.preventDefault();
} else {
handleKeyDown && handleKeyDown(e, index);
}
Expand Down

0 comments on commit 11673b2

Please sign in to comment.