react-dnd / react-dnd

Drag and Drop for React

Home Page:http://react-dnd.github.io/react-dnd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting coordinates of element being dragged, not the mouse pointer

mweel1 opened this issue · comments

commented

How would I go about getting the left coordinate of the item being dragged around in the hover event of useDrop?

Everything I see that is available to me in the hover event is based on the mouse position, not the actual element being dragged around.

Thank you!