mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
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:
@@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user