You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have access to the useDialogContext. I'm using shadcn for components and one of the components is the Sheet component that uses Radix Dialog. What I want to do is https://www.radix-ui.com/primitives/docs/components/dialog#close-after-asynchronous-form-submission
But we are using the Sheet in the layout using nextjs combination of parallel and intercepting routes ( This might be the wrong way to do this but I'm investigating stuff) but then a child of this layout is what triggers closing the sheet. So in order to do this it is best to use react context. Which I can create myself but I don't any reason why this wouldn't just be exported from radix, is this a possibility?
The text was updated successfully, but these errors were encountered:
Feature request
Overview
I would like to have access to the useDialogContext. I'm using shadcn for components and one of the components is the Sheet component that uses Radix Dialog. What I want to do is https://www.radix-ui.com/primitives/docs/components/dialog#close-after-asynchronous-form-submission
But we are using the Sheet in the layout using nextjs combination of parallel and intercepting routes ( This might be the wrong way to do this but I'm investigating stuff) but then a child of this layout is what triggers closing the sheet. So in order to do this it is best to use react context. Which I can create myself but I don't any reason why this wouldn't just be exported from radix, is this a possibility?
The text was updated successfully, but these errors were encountered: