mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
fix(date-picker): prevent events from bubbling when overlay is clicked
This commit is contained in:
parent
af1714482f
commit
2fd4a8e8a6
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue