Merge branch 'fix-completion-focus' into 'develop'

fix: auto select the first element in completion

See merge request firefish/firefish!10539
This commit is contained in:
Kainoa Kanter 2023-07-30 05:29:32 +00:00
commit 1f8bb6e905

View File

@ -430,6 +430,7 @@ function chooseUser() {
onUpdated(() => {
setPosition();
items.value = suggests.value?.children ?? [];
selectNext();
});
onMounted(() => {
@ -448,6 +449,7 @@ onMounted(() => {
exec();
});
},
{ immediate: true },
);
});
});