Skip to content
Discussion options

You must be logged in to vote

Hey @yuvigrg,

You are talking about Dialog but the screenshot shows DropdownMenu so it's a little confusing.
However, if what you are after is for the content not to be portalled away from its natural location in the DOM, simply don't use the Portal part and it will be rendered right next to the trigger in the DOM.

However, that will have an impact on visual layering. You may come across z-index issues that are difficult to get out of.
But otherwise that's completely possible this way.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yuvigrg
Comment options

@benoitgrelard
Comment options

@yuvigrg
Comment options

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