react-three-fiber icon indicating copy to clipboard operation
react-three-fiber copied to clipboard

onClick events broken with GLTF models and <primitive object={scene}/>

Open Vochsel opened this issue 2 years ago • 0 comments

Broken version: 8.7.2+ Working version: 8.7.1

Bug: onClick events are not triggered on anthing when using a <primitive> tag and setting object directly from gltf scene. According to docs and previous versions, onClick should propagate to containing <group> and <primitive> tags.

CodeSandbox here.

Probably something broke in this commit.

Thanks!

Vochsel avatar Sep 20 '22 23:09 Vochsel