diff --git a/dist/react-select.es.js b/dist/react-select.es.js index 5ff3d303e8..7389a566bc 100644 --- a/dist/react-select.es.js +++ b/dist/react-select.es.js @@ -852,7 +852,7 @@ var Select$1 = function (_React$Component) { }); } else { // otherwise, focus the input and open the menu - this._openAfterFocus = this.props.openAfterFocus; + this._openAfterFocus = this.props.openOnClick; this.focus(); } } @@ -1794,7 +1794,7 @@ Select$1.propTypes = { onOpen: PropTypes.func, // fires when the menu is opened onSelectResetsInput: PropTypes.bool, // whether input is cleared on select (works only for multiselect) onValueClick: PropTypes.func, // onClick handler for value labels: function (value, event) {} - openAfterFocus: PropTypes.bool, // boolean to enable opening dropdown when focused + openOnClick: PropTypes.bool, // boolean to control opening the menu when the control is clicked openOnFocus: PropTypes.bool, // always open options menu on focus optionClassName: PropTypes.string, // additional class(es) to apply to the