diff --git a/package.json b/package.json index 70929a5e2..a12e505f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-select", - "version": "6.2.2", + "version": "6.2.3", "description": "React Select", "keywords": [ "react", diff --git a/src/Select.jsx b/src/Select.jsx index 697060e7f..7f7840d20 100644 --- a/src/Select.jsx +++ b/src/Select.jsx @@ -276,7 +276,9 @@ const Select = React.createClass({ }, onPlaceholderClick() { - this.getInputDOMNode().focus(); + if (this.getInputDOMNode()) { + this.getInputDOMNode().focus(); + } }, onOuterFocus() {