From 524ed9b677b65e480c7803873f50c151ed1ff709 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Fri, 24 May 2024 23:47:38 +0000 Subject: [PATCH] Tab removes focus from TimePicker --- client/components/ui/TimePicker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/ui/TimePicker.vue b/client/components/ui/TimePicker.vue index 9b34a6e8..4196fa12 100644 --- a/client/components/ui/TimePicker.vue +++ b/client/components/ui/TimePicker.vue @@ -174,7 +174,7 @@ export default { return this.increaseFocused() } else if (evt.key === 'ArrowDown') { return this.decreaseFocused() - } else if (evt.key === 'Enter' || evt.key === 'Escape') { + } else if (evt.key === 'Enter' || evt.key === 'Escape' || evt.key === 'Tab') { return this.removeFocus() } @@ -209,4 +209,4 @@ export default { .digit-focused { background-color: #555; } - \ No newline at end of file +