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;
|
return this.currentView === 'month' ? this.currentYear : month.year;
|
||||||
},
|
},
|
||||||
onOverlayClick(event) {
|
onOverlayClick(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
if (!this.inline) {
|
if (!this.inline) {
|
||||||
OverlayEventBus.emit('overlay-click', {
|
OverlayEventBus.emit('overlay-click', {
|
||||||
originalEvent: event,
|
originalEvent: event,
|
||||||
|
|
Loading…
Reference in New Issue