Replies: 1 comment
-
Thanks for the issue, would you mind providing a stackblitz or github repo which demonstrates the issue? I'm not seeing the issue you're describing. |
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 there all. I was trying to use useViewportSize but when the page would render, the width value would stay at 0. I swapped out for a basic version, but would like to swap back to useViewportSize as it looks to be very helpful especially when we get to iOS issues.
The issue presents once the component was put to use in a Next.js app. But it looks like useViewportSize is set up for SSR detection.
Here are the relevant bits of code. Anyone see anything needs fixin'?
Beta Was this translation helpful? Give feedback.
All reactions