Skip to content

Conversation

@Que-tin
Copy link

@Que-tin Que-tin commented May 4, 2025

This PR exposes two important properties of the Radix Dialog Content and stabilizes the type reference for the container.

onCloseAutoFocus

Refocusing an element when the CommandDialog has been closed could be quite a pain. Luckily Radix exposes a property to handle this inside of the Dialog itself so why not also expose as a prop of the CommandDialog

onEscapeKeyDown

Interrupting the close event from Radix from within cmdk is nearly impossible, why not reexpose the property that Radix provides to opt out of the default handling

@vercel
Copy link

vercel bot commented May 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cmdk-website ✅ Ready (Inspect) Visit Preview May 4, 2025 6:17pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant