drei
drei copied to clipboard
Added preventOverlap flag to DragControls
WHY
Solves https://github.com/pmndrs/drei/issues/2097
WHAT
This PR introduces a new property preventOverlap
on the DragControls component that, if set to true
, prevents the Click event from propagating to other DragControls
https://github.com/user-attachments/assets/1febf41a-8914-4319-803e-dd4ca49e50cb