You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using onDoubleClick event handler on a group component wrapping several mesh, navigation considerably slows dow. It seems like raycasting is happening continuously instead of only on double-click events.
Expected Behavior
The onDoubleClick event should only trigger raycasting when a double-click action is performed, without causing a continuous performance degradation during normal navigation.
Actual Behavior
Navigation becomes noticeably slower, and the frame rate drops, suggesting that raycasting might be happening continuously, similar to the behavior seen with onPointerOver events.
Environment
Version: @react-three/fiber 8.15.19
Browers: Chrome 126.0, Firefox 127.0
OS: Windows 11
The text was updated successfully, but these errors were encountered:
Description
When using
onDoubleClick
event handler on agroup
component wrapping several mesh, navigation considerably slows dow. It seems like raycasting is happening continuously instead of only on double-click events.Expected Behavior
The
onDoubleClick
event should only trigger raycasting when a double-click action is performed, without causing a continuous performance degradation during normal navigation.Actual Behavior
Navigation becomes noticeably slower, and the frame rate drops, suggesting that raycasting might be happening continuously, similar to the behavior seen with
onPointerOver
events.Environment
The text was updated successfully, but these errors were encountered: