Skip to content

Commit 31968fa

Browse files
committed
fix: Unable to scroll over calendar without selecting the date on iOS touch devices (fixes #1061)
1 parent 36a8c2a commit 31968fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/components/DatePicker/DpCalendar.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
};
383383
384384
const onDateSelect = (ev: Event, dayVal: ICalendarDay, isClick = true) => {
385-
if ((isClick && isIOS()) || (!isClick && !isIOS())) return;
385+
if (!isClick && isIOS()) return;
386386
if (!defaultedMultiDates.value.enabled || defaultedConfig.value.allowPreventDefault) {
387387
checkStopPropagation(ev, defaultedConfig.value);
388388
emit('select-date', dayVal);

0 commit comments

Comments
 (0)