Skip to content

Commit

Permalink
fix: up and down keys work again in budget inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiphe committed May 8, 2020
1 parent 7b49c50 commit d7c223e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/useAmountInputProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function useCurrencyInput({
onKeyDown(ev);
}
if (
ev.isPropagationStopped ||
ev.isPropagationStopped() ||
(ev.key !== 'ArrowDown' && ev.key !== 'ArrowUp')
) {
return;
Expand Down

0 comments on commit d7c223e

Please sign in to comment.