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

Commit af7bfba

Browse files
committed
fix: Disable position recalculate when inline mode is used
1 parent b062b6c commit af7bfba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Vue3DatePicker/components/DatepickerMenu.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@
8989
},
9090
setup(props: DatepickerMenuProps, { emit }) {
9191
onMounted(() => {
92-
nextTick(() => emit('dpOpen'));
92+
if (!props.inline) {
93+
nextTick(() => emit('dpOpen'));
94+
}
9395
});
9496
9597
const mappedMonths = computed((): IMonth[] =>

0 commit comments

Comments
 (0)