We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61ec5d5 + bea57ed commit ea2798eCopy full SHA for ea2798e
src/symbols/Ring.tsx
@@ -74,7 +74,12 @@ export const Ring: FC<RingProps> = ({
74
75
return (
76
<Billboard position={[0, 0, 1]}>
77
- <a.mesh scale={ringSize as any}>
+ <a.mesh
78
+ scale={ringSize as any}
79
+ // Disabling raycast/pointer events when ring is invisible (opacity = 0)
80
+ // This prevents invisible rings highlighting parent nodes when hovered over
81
+ raycast={opacity > 0 ? undefined : () => []}
82
+ >
83
<ringGeometry
84
attach="geometry"
85
args={[innerRadius, outerRadius, segments]}
0 commit comments