wip(desktop): progress

This commit is contained in:
Adam 2025-12-10 21:16:50 -06:00
commit 3bb546c94d
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
12 changed files with 474 additions and 97 deletions

View file

@ -5,7 +5,7 @@ import {
DialogCloseButtonProps,
DialogDescriptionProps,
} from "@kobalte/core/dialog"
import { ComponentProps, type JSX, onCleanup, Show, splitProps } from "solid-js"
import { ComponentProps, type JSX, onCleanup, onMount, Show, splitProps } from "solid-js"
import { IconButton } from "./icon-button"
export interface DialogProps extends DialogRootProps {
@ -35,6 +35,11 @@ export function DialogRoot(props: DialogProps) {
})
}
onMount(() => {
// @ts-ignore
document?.activeElement?.blur?.()
})
return (
<Kobalte {...others}>
<Show when={props.trigger}>