Skip to content

Commit ad0724d

Browse files
authored
Fix openOnFocus
1 parent 535fd8a commit ad0724d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ const Select = React.createClass({
360360
});
361361
} else {
362362
// otherwise, focus the input and open the menu
363-
this._openAfterFocus = true;
363+
this._openAfterFocus = this.props.openOnFocus;
364364
this.focus();
365365
}
366366
},

0 commit comments

Comments
 (0)