Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Commit 719484c

Browse files
committed
fix: Clicking on menu from modal causing close event (fixes #85)
1 parent 0a53b1a commit 719484c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Vue3DatePicker/components/DatepickerMenu.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@
315315
}
316316
if (menu) {
317317
menu.addEventListener('pointerdown', (e) => {
318+
e.preventDefault();
318319
e.stopPropagation();
319320
e.stopImmediatePropagation();
320321
});

0 commit comments

Comments
 (0)