fix(date-picker): prevent events from bubbling when overlay is clicked

pull/6703/head
betavs 2024-11-01 17:00:00 +08:00
parent af1714482f
commit 2fd4a8e8a6
1 changed files with 2 additions and 0 deletions

View File

@ -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,