From 278fb005557d783417eb8fcf36a6f0584f4b446d Mon Sep 17 00:00:00 2001
From: jw-foss <15975785+jw-foss@users.noreply.github.com>
Date: Wed, 4 Jun 2025 14:05:30 +0800
Subject: [PATCH 1/2] fix(kselect): keyboard operation issues
* Fixes the issue that `tab` focus on the select trigger automatically opens the select dropdown.
* Fixes the issue when `selection` occurred, the dropdown gets closed, the focus won't restore back to the trigger.
---
src/components/KInput/KInput.vue | 17 +++++++++++-
src/components/KSelect/KSelect.vue | 36 ++++++++++++++++---------
src/components/KSelect/KSelectItems.vue | 19 ++++++++++---
3 files changed, 56 insertions(+), 16 deletions(-)
diff --git a/src/components/KInput/KInput.vue b/src/components/KInput/KInput.vue
index 095346fad5..4652b71606 100644
--- a/src/components/KInput/KInput.vue
+++ b/src/components/KInput/KInput.vue
@@ -33,6 +33,7 @@