first commit

This commit is contained in:
rionzhao
2025-11-06 18:53:16 +08:00
commit 7adfd412b1
1397 changed files with 173058 additions and 0 deletions
@@ -0,0 +1,5 @@
export function focusNodeOnMount(node: HTMLElement) {
// Wrapping in queueMicrotask ensures the node is attached to the
// DOM before attempting to focus.
queueMicrotask(() => node.focus());
}