fix escape handling in tagdropdown and timetrackerprojecttaskdropdown after changing to radix dropdowns

This commit is contained in:
Gregor Vostrak
2025-04-23 14:11:15 +02:00
parent 3444281703
commit c17c5dc6c0
2 changed files with 2 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ const showCreateTagModal = ref(false);
class="bg-card-background border-0 placeholder-muted text-sm text-text-primary py-2.5 focus:ring-0 border-b border-card-background-separator focus:border-card-background-separator w-full"
placeholder="Search for a Tag..."
@input="updateSearchValue"
@keydown.esc.prevent="open = false"
@keydown.enter="addTagIfNoneExists"
@keydown.up.prevent="moveHighlightUp"
@keydown.down.prevent="moveHighlightDown" />

View File

@@ -598,6 +598,7 @@ const showCreateProject = ref(false);
placeholder="Search for a project or task..."
@input="updateSearchValue"
@keydown.enter.prevent="addClientIfNoneExists"
@keydown.esc.prevent="open = false"
@keydown.up.prevent="moveHighlightUp"
@keydown.down.prevent="moveHighlightDown"
@keydown.right.prevent="expandProject"