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

Commit

Permalink
fix: Wrong layout in action row with presetRanges
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasenkoo committed Feb 13, 2022
1 parent a1f2a11 commit 0023f12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Vue3DatePicker/components/DatepickerMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@
onMounted(() => {
menuMount.value = true;
getCalendarWidth();
if (!props.presetRanges?.length) {
getCalendarWidth();
}
if (!props.inline) {
nextTick(() => emit('dpOpen'));
}
Expand Down

0 comments on commit 0023f12

Please sign in to comment.