Skip to content

Commit a10be9e

Browse files
authored
fix: QuickOverview keyboard navigation to last slide (#2345)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent ee02107 commit a10be9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/internals/QuickOverview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ useEventListener('keypress', (e) => {
8484
keyboardBuffer.value += String(num)
8585
8686
// beyond the number of slides, reset
87-
if (+keyboardBuffer.value >= slides.value.length) {
87+
if (+keyboardBuffer.value > slides.value.length) {
8888
keyboardBuffer.value = ''
8989
return
9090
}

0 commit comments

Comments
 (0)