Skip to content

Commit

Permalink
Merge pull request #4367 from Yaxian/issue/DatePicker/onDissmiss
Browse files Browse the repository at this point in the history
[DatePicker]Fix the issue about onDismiss function will fire by handleTouchTapOk
  • Loading branch information
newoga committed May 27, 2016
2 parents 6daf7ae + 0315393 commit 3298b09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DatePicker/DatePickerDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class DatePickerDialog extends Component {
this.props.onAccept(this.refs.calendar.getSelectedDate());
}

this.dismiss();
this.setState({
open: false,
});
};

handleWindowKeyUp = (event) => {
Expand Down

0 comments on commit 3298b09

Please sign in to comment.