Skip to content

Commit

Permalink
DateInput: fix incorrect close
Browse files Browse the repository at this point in the history
The DateInput will close after selecting the year or month in popover mode.
  • Loading branch information
Sun79 authored and Sun committed Aug 13, 2019
1 parent 74f78df commit 7abec16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DateInput/DateInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ export default {
},
ref: 'popover',
on: {
close: this.closePicker
close: this.closePicker,
click: e => { e.stopPropagation() }
}
}, [this.createPicker(h)])
]);
Expand Down

0 comments on commit 7abec16

Please sign in to comment.