drei icon indicating copy to clipboard operation
drei copied to clipboard

Added preventOverlap flag to DragControls

Open niccolofanton opened this issue 5 months ago • 2 comments

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

niccolofanton avatar Sep 18 '24 12:09 niccolofanton