fix: Space key in input closing dropdown (#9525)
This commit is contained in:
@@ -18,11 +18,11 @@ defineProps({
|
|||||||
<div
|
<div
|
||||||
class="flex items-center justify-between h-10 min-h-[40px] sticky top-0 bg-white z-10 dark:bg-slate-800 gap-2 px-3 border-b rounded-t-xl border-slate-50 dark:border-slate-700"
|
class="flex items-center justify-between h-10 min-h-[40px] sticky top-0 bg-white z-10 dark:bg-slate-800 gap-2 px-3 border-b rounded-t-xl border-slate-50 dark:border-slate-700"
|
||||||
>
|
>
|
||||||
<div class="flex items-center w-full gap-2">
|
<div class="flex items-center w-full gap-2" @keyup.space.prevent>
|
||||||
<fluent-icon
|
<fluent-icon
|
||||||
icon="search"
|
icon="search"
|
||||||
size="18"
|
size="16"
|
||||||
class="text-slate-400 dark:text-slate-400"
|
class="text-slate-400 dark:text-slate-400 flex-shrink-0"
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
Reference in New Issue
Block a user