From 2c839e3afe5860f9ffd82546b83a71bf9e1b4821 Mon Sep 17 00:00:00 2001 From: Jed Watson Date: Wed, 13 Sep 2017 23:18:30 +1000 Subject: [PATCH] Updating build --- dist/react-select.es.js | 7 ++++--- dist/react-select.js | 7 ++++--- dist/react-select.min.js | 2 +- lib/Async.js | 2 +- lib/Select.js | 5 +++-- 5 files changed, 13 insertions(+), 10 deletions(-) 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