fix(combo-box): "Escape" key clears input value (#2169)

Fixes #2167
This commit is contained in:
Eric Liu 2025-06-07 12:45:32 -07:00 committed by GitHub
commit 632320ae3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 1 deletions

View file

@ -339,7 +339,7 @@
} else if (key === "ArrowUp") {
change(-1);
} else if (key === "Escape") {
open = false;
clear();
}
}}
on:keyup