onEsc() {
this.setOpen(false);
- this.picker.focus();
+ this.focus();
},
onKeyDown(e) {
}
},
+ focus() {
+ this.picker.focus();
+ },
+
render() {
const {
prefixCls, placeholder, placement, align,
disabled, transitionName, style, className, showHour,
- showMinute, showSecond, getPopupContainer, name,
- showSecond, getPopupContainer, autoComplete,
+ showMinute, showSecond, getPopupContainer, name, autoComplete,
} = this.props;
const { open, value } = this.state;
let popupClassName;