Creation modal quality of life changes (#467)

Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
Co-authored-by: Tonya <tonya@tokia.dev>
This commit is contained in:
Corknut
2025-01-26 07:43:45 -05:00
committed by GitHub
parent 96d88c5728
commit fca7d24268
8 changed files with 139 additions and 55 deletions

View File

@@ -64,10 +64,14 @@
loading.value = false;
}
whenever(
watch(
() => modal.value,
() => {
focused.value = true;
open => {
if (open)
useTimeoutFn(() => {
focused.value = true;
}, 50);
else focused.value = false;
}
);