-
Notifications
You must be signed in to change notification settings - Fork 227
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
Orbit Controls didn't work on NextJS but works on regular React #2
Comments
Don't forget the client side and server side using Next, and then I'm sure you'll find a solution 😉 |
Thanks for the reply. I already use "client side", but still won't work. Haven't found any solution tho |
in Figma clone on Next JS was the same problem. To resolve it: we disable ssr to avoid pre-rendering issues of Next.js because we're using a canvas element that can't be pre-rendered by Next.js on the server. page.tsx
app.tsx
|
I'm also implementing this tutorial with Next.js. The VideoCarroussel component wasn't working till I applied this. Thanks. |
First Im building this with NextJS, everything was fine until we implement orbit controls. Been searching for hours but I didn't get any solution. Then I start anew with regular react and the orbit controls work fine. Why is that ? and how to fix it for NextJS ?
The text was updated successfully, but these errors were encountered: