From e879098faceccb4f447e8420c38ca46ed2474756 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Tue, 22 Jan 2019 12:56:23 +0300 Subject: [PATCH] Fixed #743 - Spinner arrow keys not working --- src/components/spinner/Spinner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/spinner/Spinner.js b/src/components/spinner/Spinner.js index c54b043119..aaf6b00393 100644 --- a/src/components/spinner/Spinner.js +++ b/src/components/spinner/Spinner.js @@ -202,11 +202,11 @@ export class Spinner extends Component { onInputKeyDown(event) { if (event.which === 38) { - this.spin(1); + this.spin(event, 1); event.preventDefault(); } else if (event.which === 40) { - this.spin(-1); + this.spin(event, -1); event.preventDefault(); } }