aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/module
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2015-11-29 15:14:32 +0800
committerafc163 <afc163@gmail.com>2015-11-29 15:14:32 +0800
commit85d09ad3310c26d61b6af60b28d680eed1f2bf1c (patch)
treea346113772f90bfb6288b114309cd78432dd8b06 /src/module
parentec9325586535a0067af78586873349f53dcfdd4c (diff)
downloadtime-picker-85d09ad3310c26d61b6af60b28d680eed1f2bf1c.tar.gz
time-picker-85d09ad3310c26d61b6af60b28d680eed1f2bf1c.tar.zst
time-picker-85d09ad3310c26d61b6af60b28d680eed1f2bf1c.zip
show scrollbar when hover
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() {