Skip to content

Commit

Permalink
fix: marker tooltip showing on hidden offset date (fixes #994)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasenkoo committed Oct 17, 2024
1 parent 916eb31 commit 606dec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VueDatePicker/components/DatePicker/DpCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@
}
emit('set-hover-date', day);
if (day.marker?.tooltip?.length) {
if (props.hideOffsetDates && !day.current) return;
await handleTooltip(day, weekInd, dayInd);
}
};
Expand Down

0 comments on commit 606dec9

Please sign in to comment.