fix(projects): open autocomplete on click/type, not focus
The dialog autofocuses the project input on open; opening the dropdown on focus made it spring open with no user interaction. Open on click or typing instead, so the field is type-ready on open without showing the list.
This commit is contained in:
@@ -66,7 +66,7 @@ async function create() {
|
||||
data-test="project-input"
|
||||
placeholder="Project…"
|
||||
autocomplete="off"
|
||||
@focus="open = true"
|
||||
@click="open = true"
|
||||
@input="open = true"
|
||||
>
|
||||
<ul v-if="open && (filtered.length || canCreate)" class="options">
|
||||
|
||||
Reference in New Issue
Block a user