Skip to content

Commit

Permalink
fix: move only with single arrow keys (#722)
Browse files Browse the repository at this point in the history
from RadixUI
  • Loading branch information
sadeghbarati committed Mar 4, 2024
1 parent 9e84816 commit 860c250
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/radix-vue/src/RovingFocus/RovingFocusItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function handleKeydown(event: KeyboardEvent) {
)
if (focusIntent !== undefined) {
if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey)
return
event.preventDefault()
let candidateNodes = [...collections.value]
Expand Down

0 comments on commit 860c250

Please sign in to comment.