Replies: 1 comment
-
I'd try polling in a |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
thank you for this great package.
I'm working on a possible hero element based on this example mentioned in the docs.
I copied the example code and only changed minor things like colors and the shape. However, I updated the dependencies to the latest versions. This seemed to have broken something. When you start the project it works fine. However, you will notice that it re-renders the components when scrolling. When you resize the browser horizontally, it causes the app to freeze and eventually crash.
I uploaded a minimal example to this repository so that it can be reproduced. You can simply run
npm i && npm start
to run the app. Scrolling vertically causes the scene to re-render and resizing the viewport horizontally causes the app to freeze and crash.I'm quite new to ThreeJS and could use some help.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions