-
Notifications
You must be signed in to change notification settings - Fork 591
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
[Dialog]support ssr please #4205
Labels
Comments
FairyYang
added a commit
to FairyYang/next
that referenced
this issue
Aug 30, 2024
FairyYang
added a commit
to FairyYang/next
that referenced
this issue
Sep 3, 2024
FairyYang
added a commit
to FairyYang/next
that referenced
this issue
Sep 4, 2024
FairyYang
added a commit
to FairyYang/next
that referenced
this issue
Sep 5, 2024
FairyYang
added a commit
to FairyYang/next
that referenced
this issue
Sep 5, 2024
eternalsky
pushed a commit
that referenced
this issue
Sep 5, 2024
github-project-automation
bot
moved this from 👀 In review
to Ready to release
in DAILY WORK
Sep 5, 2024
eternalsky
pushed a commit
that referenced
this issue
Sep 10, 2024
the code above is written in didMount lifeCycle, and will not affect ssr. but we review the whole code of Dialog, and fix all problems which will result in error in ssr. |
luolin-ck
pushed a commit
to luolin-ck/next
that referenced
this issue
Sep 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component
Dialog
Steps to reproduce
document is undefined in ssr env, at overlay.js used such code:
useListener(document, 'mousedown', clickEvent, false, !!(visible && overlayRef.current && (canCloseByOutSideClick || hasMask && canCloseByMask)));
The text was updated successfully, but these errors were encountered: