Skip to content

How to build a Dialog that allows interaction with the background elements? #1330

Discussion options

You must be logged in to vote

I think you are looking for a non-modal dialog, in which case you are looking for modal={true} on the Root part.
And you are correct with onInteractOutside={(e) => e.preventDefault()} to prevent closing on outside interactions.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@franciscohanna92
Comment options

@dcheglakov
Comment options

Answer selected by franciscohanna92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants