docs
docs copied to clipboard
Question, how i possibile click a item without move it?
How is possibile click a item without moving it and trigger the drag and drop?
let's say, I have a card with two buttons, I can't click on the buttons because the card moves so i can't trigger functions from these button.. how i can do this?
For button in the card, you could probbaly use absolute positionning and z-index to force the button ontop of the draggable part. I have the same question, but in my case, the card (a playing card) is a checkbox behind the scenes. I would like to be able to drag the card, but only click and "check" it.
Maybe this answers your question. https://github.com/clauderic/dnd-kit/issues/591