pmndrs / react-zdog

⚡️🐶 React bindings for zdog
MIT License
443 stars 21 forks source link

Controlled user input `onDrag` #28

Closed brillout closed 1 year ago

brillout commented 2 years ago

The examples at https://zzz.dog/ are draggable; the user can drag to rotate objects.

Thoughts about a onDrag() controlled user input event?

bhushan6 commented 1 year ago

Hi @brillout , You have onDragMove, onDragStart, onDragEnd events available just the way there are in zdog, is that what you looking for? Just in case thats not working for you, please check if you have set the dragRotate prop to true, it only works with that. Ik reply is bit late lol.