-
Notifications
You must be signed in to change notification settings - Fork 171
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
Render portal to a specific target #99
Comments
👍 this would be awesome if possible |
I second this as well, my use case is a touch different though. My HTML looks like this: <html>
<head></head>
<body>
<div id="content">...</div>
</body> And my CSS looks somthing like this: html, body, #content {
height: 100%;
}
#content {
overflow: auto;
} This makes it so that Being able to pass |
+1 |
#100 should be merged soon and released as |
Would it be feasible to specify a target, like an "id" attribute, so that the portal is rendered into this container instead of the bottom of the body? The feature was somehow mentioned here and I would need that.
Thanks for all your work!
Update: actually my use case is to render / open the portal outside the React Scope. Is it actually possible? I am in a mixed context of React / traditional app (!= single page app).
Don't know if it is possible / in the scope of
react-portal
.The text was updated successfully, but these errors were encountered: