diff --git a/src/Vue3DatePicker/components/DatepickerMenu.vue b/src/Vue3DatePicker/components/DatepickerMenu.vue index b38b50c..b3ffb60 100644 --- a/src/Vue3DatePicker/components/DatepickerMenu.vue +++ b/src/Vue3DatePicker/components/DatepickerMenu.vue @@ -259,6 +259,8 @@ } if (menu) { menu.addEventListener('pointerdown', (e) => { + e.stopPropagation(); + e.preventDefault(); e.stopImmediatePropagation(); }); } @@ -438,6 +440,8 @@ }; const handleDpMenuClick = (e: Event) => { + e.stopPropagation(); + e.preventDefault(); e.stopImmediatePropagation(); };