fix(date-picker): prevent events from bubbling when overlay is clicked
parent
af1714482f
commit
2fd4a8e8a6
|
@ -2672,6 +2672,8 @@ export default {
|
|||
return this.currentView === 'month' ? this.currentYear : month.year;
|
||||
},
|
||||
onOverlayClick(event) {
|
||||
event.stopPropagation();
|
||||
|
||||
if (!this.inline) {
|
||||
OverlayEventBus.emit('overlay-click', {
|
||||
originalEvent: event,
|
||||
|
|
Loading…
Reference in New Issue