Multiple Instances of ThreeJS - Orbitcontrols broken
alvarosabu opened this issue · comments
Alvaro Saburido commented
Describe the bug
Reproduction
playground
Steps to reproduce
Run npm install
and then npm run dev
or npm run build & npm run preview
System Info
System:
OS: macOS 13.5.1
CPU: (8) arm64 Apple M1 Pro
Memory: 97.73 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm
Browsers:
Brave Browser: 117.1.58.135
Chrome: 117.0.5938.149
Firefox: 118.0.1
Safari: 16.6
### Used Package Manager
pnpm
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://tresjs.org/guide).
- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.