Skip to content
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

GizmoHelper (GizmoViewport, GizmoViewcube) don't work on multiple <View /> components #1913

Open
RodrigoHamuy opened this issue Apr 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RodrigoHamuy
Copy link
Contributor

  • three version: 0.163.0
  • @react-three/fiber version: 8.16.1
  • @react-three/drei version: 9.105.3

Problem description:

GizmoHelper (GizmoViewport, GizmoViewcube) have the following issues when using them in multiple <View /> components:

  • Seems to be taken the render loop in weird ways if you don't set a View index.
  • Takes control of all the cameras, not just the one in the view.
  • Only 1 view seems to accept user input, the rest ignore them. For example OrbitControls only works in 1 view.

Relevant code:

Sandbox: https://codesandbox.io/p/sandbox/2-views-89hyyl

gizmo.mp4
@RodrigoHamuy RodrigoHamuy added the bug Something isn't working label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant