From d7c223ec3bc8a2afe8fa7e0aef95564c8e65e2a2 Mon Sep 17 00:00:00 2001 From: Xiphe Date: Fri, 8 May 2020 23:56:05 +0200 Subject: [PATCH] fix: up and down keys work again in budget inputs --- src/lib/useAmountInputProps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/useAmountInputProps.ts b/src/lib/useAmountInputProps.ts index 0a9a2c4..904df2e 100644 --- a/src/lib/useAmountInputProps.ts +++ b/src/lib/useAmountInputProps.ts @@ -34,7 +34,7 @@ export default function useCurrencyInput({ onKeyDown(ev); } if ( - ev.isPropagationStopped || + ev.isPropagationStopped() || (ev.key !== 'ArrowDown' && ev.key !== 'ArrowUp') ) { return;