Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support 'modal' boolean option of Radix Dialog Root element - allow elements outside the drawer to be interactable #37

Closed
OmkarArora opened this issue Aug 10, 2023 · 3 comments

Comments

@OmkarArora
Copy link

Is it possible to add support for having elements outside the drawer to be interactable, the "modal" prop for Dialog Root might do it - https://www.radix-ui.com/primitives/docs/components/dialog#root

@hedysnike
Copy link

I think you can set it manually in node, and test it

@emilkowalski
Copy link
Owner

emilkowalski commented Aug 27, 2023

This has been added in #69, you can see the implementation in the readme for now. I'll add some codesandbox examples soon.

@Elvincth
Copy link

This has been added in #69, you can see the implementation in the readme for now. I'll add some codesandbox examples soon.

Hello, I have tried to add modal false in the root but seems when I click on the elements outside of the modal still triggers the close of it.

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

No branches or pull requests

4 participants