Skip to content

Commit 85a1002

Browse files
committed
fix: Inverse navigation on arrow-left/right
1 parent 6406984 commit 85a1002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/components/DatepickerMenu.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
if (arrow === ArrowDirection.down) return arrowDown();
311311
if (arrow === ArrowDirection.left) return arrowLeft();
312312
if (arrow === ArrowDirection.right) return arrowRight();
313-
} else if (arrow === ArrowDirection.right || arrow === ArrowDirection.up) {
313+
} else if (arrow === ArrowDirection.left || arrow === ArrowDirection.up) {
314314
callChildFn('handleArrow', ArrowDirection.left, 0, arrow === ArrowDirection.up);
315315
} else {
316316
callChildFn('handleArrow', ArrowDirection.right, 0, arrow === ArrowDirection.down);

0 commit comments

Comments
 (0)