You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ! Sorry for not opening an issue, but I'm pretty sure the issue is not coming from your library, but maybe from nextjs, but I cant make my repo public, so I cant open an issue on their github and I was hoping someone here would understand what was wrong in my app.
So I use Cobe in my nextjs typescript app. it works fine, except when I do a page reload, the canvas use by the globe become a white square for a brief moment at the instant you hit refresh, then comes back to normal. Do you know how to solve that ? it happens in both pnpm run dev, and pnpm run build then pnpm run start, the only difference is that its less consistent in pnpm run dev, it only flashes 50% of the time.
I use it inside a component, that is then imported in my home.tsx
I use the latest nextjs stable version, same for all the other stuff I use. I also tried to put the globe code directly inside my home.tsx to see if it was because it was inside a component, but I had the same bug.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello ! Sorry for not opening an issue, but I'm pretty sure the issue is not coming from your library, but maybe from nextjs, but I cant make my repo public, so I cant open an issue on their github and I was hoping someone here would understand what was wrong in my app.
So I use Cobe in my nextjs typescript app. it works fine, except when I do a page reload, the canvas use by the globe become a white square for a brief moment at the instant you hit refresh, then comes back to normal. Do you know how to solve that ? it happens in both
pnpm run dev
, andpnpm run build
thenpnpm run start
, the only difference is that its less consistent in pnpm run dev, it only flashes 50% of the time.I use it inside a component, that is then imported in my home.tsx
I use the latest nextjs stable version, same for all the other stuff I use. I also tried to put the globe code directly inside my home.tsx to see if it was because it was inside a component, but I had the same bug.
package.json
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions