Merge pull request #6703 from betavs/hotfix/date-picker-propagation
fix(date-picker): prevent events from bubbling when overlay is clickedpull/6775/head
commit
e0288223fd
|
@ -2671,6 +2671,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