-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Modal breaks SSR #1531
Comments
Thanks for the repro case, we'll check on this as soon as we can. If you are debugging, this is probably related to the Portal. The Portal renders a new subtree into the document body in order to achieve the necessary markup for Modals. I don't know next.js, but you might google around for other users' issues with the portal pattern for now. |
For now it is possible to avoid breaking SSR by using |
+1 |
Any update on this? Experiencing exactly the same issue on version 0.75.1 |
Please post a new issue against the latest release |
Hello,
Using
Modal
with SSR specifically using next.js breaks SSR for some reason. Any ideas why that might be? I am not sure if it is specific to semantic or next.jsSteps
Expected Result
Should not break SSR
Actual Result
Breaks SSR
Version
0.67.2
Testcase
https://github.com/kolpav/semantic-ui-ssr-bug
The text was updated successfully, but these errors were encountered: