aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/module
diff options
context:
space:
mode:
Diffstat (limited to 'src/module')
-rw-r--r--src/module/Select.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module/Select.jsx b/src/module/Select.jsx
index 119e59e..b386d07 100644
--- a/src/module/Select.jsx
+++ b/src/module/Select.jsx
@@ -64,7 +64,7 @@ const Select = React.createClass({
64 } 64 }
65 const topOption = list.children[index]; 65 const topOption = list.children[index];
66 const to = topOption.offsetTop - select.offsetTop; 66 const to = topOption.offsetTop - select.offsetTop;
67 scrollTo(list, to, duration); 67 scrollTo(select, to, duration);
68 }, 68 },
69 69
70 render() { 70 render() {