diff options
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/module/Header.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index cb2896b..11b2436 100644 --- a/package.json +++ b/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "rc-time-picker", | 2 | "name": "rc-time-picker", |
3 | "version": "1.1.4", | 3 | "version": "1.1.5", |
4 | "description": "React TimePicker", | 4 | "description": "React TimePicker", |
5 | "keywords": [ | 5 | "keywords": [ |
6 | "react", | 6 | "react", |
diff --git a/src/module/Header.jsx b/src/module/Header.jsx index 41099cc..a926e98 100644 --- a/src/module/Header.jsx +++ b/src/module/Header.jsx | |||
@@ -170,7 +170,7 @@ const Header = React.createClass({ | |||
170 | }, | 170 | }, |
171 | 171 | ||
172 | selectRange() { | 172 | selectRange() { |
173 | this.refs.input.focus(); | 173 | this.refs.input.select(); |
174 | if (this.props.currentSelectPanel && this.refs.input.value) { | 174 | if (this.props.currentSelectPanel && this.refs.input.value) { |
175 | let selectionRangeStart = 0; | 175 | let selectionRangeStart = 0; |
176 | let selectionRangeEnd = 0; | 176 | let selectionRangeEnd = 0; |