Skip to content

Commit

Permalink
Prevent changing tabs from submitting forms
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaird committed Feb 16, 2017
1 parent c310ede commit c69f780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Tabs/Tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default class Tab extends Component {
ref={ (c) => {
this.component = c;
} }
type="button"
onFocus={ this.handleFocus }
onBlur={ this.handleBlur }
onClick={ this.handleClick }
Expand Down

0 comments on commit c69f780

Please sign in to comment.