diff options
author | afc163 <afc163@gmail.com> | 2015-11-28 15:48:46 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2015-11-28 15:48:46 +0800 |
commit | a9fbba23bb3eca7275602bf27183cdb3e34071cf (patch) | |
tree | 7026d38af8c84c0ef5e678426e364b28580d2bd9 /src | |
parent | 41bec13afc225d083134405fc5c1b3b44bb33fd9 (diff) | |
download | time-picker-a9fbba23bb3eca7275602bf27183cdb3e34071cf.tar.gz time-picker-a9fbba23bb3eca7275602bf27183cdb3e34071cf.tar.zst time-picker-a9fbba23bb3eca7275602bf27183cdb3e34071cf.zip |
faster scroll
Diffstat (limited to 'src')
-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 570ff37..b386d07 100644 --- a/src/module/Select.jsx +++ b/src/module/Select.jsx | |||
@@ -35,7 +35,7 @@ const Select = React.createClass({ | |||
35 | 35 | ||
36 | componentDidUpdate() { | 36 | componentDidUpdate() { |
37 | // smooth scroll to selected option | 37 | // smooth scroll to selected option |
38 | this.scrollToSelected(200); | 38 | this.scrollToSelected(120); |
39 | }, | 39 | }, |
40 | 40 | ||
41 | onSelect(value) { | 41 | onSelect(value) { |