Skip to content

Commit

Permalink
Fix openOnFocus
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Feb 3, 2017
1 parent 535fd8a commit ad0724d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ const Select = React.createClass({
});
} else {
// otherwise, focus the input and open the menu
this._openAfterFocus = true;
this._openAfterFocus = this.props.openOnFocus;
this.focus();
}
},
Expand Down

0 comments on commit ad0724d

Please sign in to comment.