triplex
triplex copied to clipboard
editor view camera controls conflict with @react-three/handle
reproduction:
create a component with a handle
import { TransformHandles } from '@react-three/handles'
import { noEvents, PointerEvents } from '@react-three/xr'
export function Model({}) {
return (
<Canvas events={noEvents}>
<PointerEvents />
<TransformHandles>
<mesh>
<boxGeometry />
</mesh>
</TransformHandles>
</Canvas >
)
}
open it in triplex editor camera view and try to move the handles
Fair. What do you think the behaviour should be?
maybe have a way to switch handles/OrbitHandles it exclusively interacts with the handles
Since the controlled props fix has gone out you shouldn't need to render your own handles anymore. If anyone is having an issue with handles please make a new issue with your use case and steps to reproduce.