alt+up/down to navigate search history

This commit is contained in:
Simon Cambier
2022-08-26 08:54:40 +02:00
parent b73c5a9391
commit 417cc69483
3 changed files with 42 additions and 7 deletions

View File

@@ -11,7 +11,10 @@
onMount(async () => {
await tick()
elInput.focus()
elInput.select()
setTimeout(() => {
// tick() is not working here?
elInput.select()
}, 0)
})
const debouncedOnInput = debounce(() => {