@ -64,6 +64,12 @@ export default function createPicker(TheCalendar) {
};
let calendarHandler = {
onOk: this.handleChange,
// fix https://github.com/ant-design/ant-design/issues/1902
onSelect: (value, cause) => {
if (cause && cause.source === 'todayButton') {
this.handleChange(value);
}
},
if (props.showTime) {
pickerChangeHandler = {};