Skip to content

Dialog content inside of overlay? #345

Answered by benoitgrelard
csenio asked this question in Ideas
Discussion options

You must be logged in to vote

Hey @jescowuester!

Super interesting that you are pointing that out.

We did think about this originally but decided not to do that because it complicates things like animating the overlay and the content separately (because for example if you're fading the overlay, your content would also be part of that fade because it's inside).

That said, we intended it in a way that would be possible to do both, because there's no reason you couldn't nest if you don't care about that animation/opacity issue with the overlay as a container.

But it seems since we added more and more functionality, we did put both the overlay and the content inside a portal each so that they stack properly without needin…

Replies: 3 comments 3 replies

Comment options

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

@benoitgrelard
Comment options

Answer selected by benoitgrelard
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@csenio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants