react-image-turntable icon indicating copy to clipboard operation
react-image-turntable copied to clipboard

Only onClick fires, never onDragStart or onDragEnd

Open densekernel opened this issue 1 year ago • 1 comments

We are using the turntable in a product cart and the goal is to make the product card clickable whilst still maintaining the drag event to rotate the turntable.

https://v0.dev/chat/sbHDBHWQjTF?b=b_AEG0UfegB6B - In this simple example

  • onClick fires on a single click
  • onDragStart, onDragEnd fire on drag but onClick does not

I can't recreate this within the turntable

densekernel avatar Oct 09 '24 19:10 densekernel

Sorry @densekernel, I missed this.

I'm not sure if I understand what you're trying to do, did you find a solution?

nerdyman avatar Apr 29 '25 09:04 nerdyman