diff options
Diffstat (limited to 'src/module')
-rw-r--r-- | src/module/Select.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module/Select.jsx b/src/module/Select.jsx index be4c025..570ff37 100644 --- a/src/module/Select.jsx +++ b/src/module/Select.jsx | |||
@@ -58,7 +58,7 @@ const Select = React.createClass({ | |||
58 | // move to selected item | 58 | // move to selected item |
59 | const select = ReactDom.findDOMNode(this); | 59 | const select = ReactDom.findDOMNode(this); |
60 | const list = ReactDom.findDOMNode(this.refs.list); | 60 | const list = ReactDom.findDOMNode(this.refs.list); |
61 | let index = this.props.selectedIndex - 2; | 61 | let index = this.props.selectedIndex - 1; |
62 | if (index < 0) { | 62 | if (index < 0) { |
63 | index = 0; | 63 | index = 0; |
64 | } | 64 | } |