alt+up/down to navigate search history
This commit is contained in:
@@ -11,7 +11,10 @@
|
||||
onMount(async () => {
|
||||
await tick()
|
||||
elInput.focus()
|
||||
elInput.select()
|
||||
setTimeout(() => {
|
||||
// tick() is not working here?
|
||||
elInput.select()
|
||||
}, 0)
|
||||
})
|
||||
|
||||
const debouncedOnInput = debounce(() => {
|
||||
|
||||
Reference in New Issue
Block a user