Skip to content

Commit

Permalink
minor fix to avoid that cursor is moved to start of input when ArrowUp
Browse files Browse the repository at this point in the history
  • Loading branch information
karussell committed Jul 19, 2024
1 parent 6e1b099 commit c4392fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sidebar/search/AddressInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export default function AddressInput(props: AddressInputProps) {
return nextIndex
})

event.preventDefault() // stop propagating event to input to avoid that cursor is moved to start when ArrowUp
break
case 'Enter':
case 'Tab':
Expand Down

0 comments on commit c4392fc

Please sign in to comment.