]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
Merge branch 'master' into feat-focus
author偏右 <afc163@gmail.com>
Mon, 20 Feb 2017 08:03:41 +0000 (16:03 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Feb 2017 08:03:41 +0000 (16:03 +0800)
1  2 
src/TimePicker.jsx

index 01bab2c5b5185e33ba0431ac200da40c441725ab,da47ac4d9c211192c985f6dbc0d9c88ae60feb8a..aa3e0da726f009c6e54b69696945b8b382048765
@@@ -183,10 -185,6 +185,10 @@@ const Picker = React.createClass(
      }
    },
  
-     this.refs.picker.focus();
 +  focus() {
++    this.picker.focus();
 +  },
 +
    render() {
      const {
        prefixCls, placeholder, placement, align,