Force dropdown menu to render in a different place #2912
Unanswered
Joseff-Evans
asked this question in
Q&A
Replies: 1 comment
-
you have to be sure document.getElementById('Test-root') gives NOT undefined at the moment dropdown is rendered, then it should work fine. What it would give you though? Because the content is rendered inside a popper primitive which is built in, has fixed positioning and doesnt give explicit handles for manipulation. In other words im looking for not super hacky ways to position the content nicely |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I am trying to get the dropdown menu to render under one of my divs rather than under the root - is this possible?
I have tried the following:
But this still seems to render under the root
Beta Was this translation helpful? Give feedback.
All reactions