fix: autocomplete direction
parent
32f22f81d9
commit
ffe592cc57
|
@ -103,14 +103,14 @@ onMounted(async () => {
|
||||||
v-model="server"
|
v-model="server"
|
||||||
outline-none bg-transparent w-full max-w-50
|
outline-none bg-transparent w-full max-w-50
|
||||||
@input="handleInput"
|
@input="handleInput"
|
||||||
@keydown.down="move(-1)"
|
@keydown.down="move(1)"
|
||||||
@keydown.up="move(1)"
|
@keydown.up="move(-1)"
|
||||||
@keydown.enter="onEnter"
|
@keydown.enter="onEnter"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
absolute left-6em right-0 top="100%"
|
absolute left-6em right-0 top="100%"
|
||||||
bg-base rounded border="~ base"
|
bg-base rounded border="~ base"
|
||||||
text-left z-10 shadow
|
text-left z-10 shadow of-auto
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-for="server, idx in filteredServers"
|
v-for="server, idx in filteredServers"
|
||||||
|
|
Loading…
Reference in New Issue