From 301ab81862a242167101c4bad3c1a288bdd77880 Mon Sep 17 00:00:00 2001 From: mattgoud Date: Wed, 20 Nov 2024 17:19:29 +0100 Subject: [PATCH] feat: [select-refacto] - related #384 - fix style error input, improve keyboard handling (esc to close dropdown), fix reset search query feature when dropdown is closed --- packages/components/select/src/select.vue | 20 ++++++++++------- packages/theme/src/puik-select.scss | 26 +++++++++++------------ 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/packages/components/select/src/select.vue b/packages/components/select/src/select.vue index b1f8cf0f..33b996dd 100644 --- a/packages/components/select/src/select.vue +++ b/packages/components/select/src/select.vue @@ -4,6 +4,7 @@ class="puik-select" role="listbox" :aria-multiselectable="props.multiSelect" + @keydown.esc="closeOptions" >
-
- -
+