mirror of
https://github.com/immich-app/immich.git
synced 2025-11-21 09:20:40 +09:00
fix(web): fix input autofocus (#15028)
applies to tag creation modal, and possibly other places
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
onMount(() => {
|
||||
if (autofocus) {
|
||||
tick()
|
||||
.then(() => input?.focus())
|
||||
.then(() => setTimeout(() => input?.focus(), 0))
|
||||
.catch((_) => {});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user