-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Hydration errors on mobile with Page Component #12879
Comments
nickfthedev
added
Bug
Something is broken and not working as intended in the system.
untriaged
labels
Nov 7, 2024
Edit, in my case it was outdated Polaris package, it's fixed in 13.9.1 I am also getting this, even on pages that don't have any buttons added into the Page component, but if the initial render is on small screen. Here's the trace:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
As stated above i got hydration errors with the Page Component on smaller screen widths when using multiple buttons in the page component.
I assume the issue has to do something with use of window for getting the width which then fails on server side rendering
The issue is triggered when the buttons on the right side of the Page component get minimized into the single 3 dot button.
Expected behavior
No response
Actual behavior
Wrap animated gifs/videos in a details tag:
Summary of your gif(s)
Steps to reproduce
Link to sandbox
1.
2.
3.
Are you using React components?
None
Polaris version number
No response
Browser
No response
Device
No response
The text was updated successfully, but these errors were encountered: