Skip to content

Commit

Permalink
fix(pickerheader): Stop disabled dates from closing calendar on next/…
Browse files Browse the repository at this point in the history
…prev
  • Loading branch information
mst101 committed Dec 15, 2021
1 parent 9fc2a53 commit d61647c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PickerHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
data-test-previous-button
:disabled="isPreviousDisabled"
type="button"
@click="$emit('page-change', previousPage)"
@click.stop="$emit('page-change', previousPage)"
@keydown.down.prevent="focusTabbableCell"
@keydown.up.prevent="$emit('focus-input')"
@keydown.left.prevent="arrowLeftPrev"
Expand All @@ -25,7 +25,7 @@
data-test-next-button
:disabled="isNextDisabled"
type="button"
@click="$emit('page-change', nextPage)"
@click.stop="$emit('page-change', nextPage)"
@keydown.down.prevent="focusTabbableCell"
@keydown.up.prevent="$emit('focus-input')"
@keydown.left.prevent="arrowLeftNext"
Expand Down

0 comments on commit d61647c

Please sign in to comment.