orbitControls does not work with r3f-4.27 with three-110 onwards #434
usamasulaiman
started this conversation in
General
Replies: 1 comment
-
yes, three does that, they dont have versioning and introduce breaking changes sometimes. r3f is a reconciler, it works with the three version in your package json. if you update and they have introduced new rules, r3f won't interfere. |
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
-
Check this out, just a random codesandbox example that I tried changing the versions in to make sure the problem wasn't happening just with me.
Change three.js version to 110 and up and it will throw an error as it seems passing the
domElement
second argument (apart from camera) in the line below is now obligatory.I don't have much experience or knowledge of three.js in general to figure how to do that from r3f. Any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions