Skip to content

Commit

Permalink
Fixed #1416 - Clear button is not closing Calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jun 19, 2020
1 parent de67322 commit 85b75db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ export class Calendar extends Component {
onClearButtonClick(event) {
this.updateModel(event, null);
this.updateInputfield(null);
this.hideOverlay();

if (this.props.onClearButtonClick) {
this.props.onClearButtonClick(event);
Expand Down

0 comments on commit 85b75db

Please sign in to comment.