New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getClientOffset/getSourceClientOffset null on drop #280
Comments
I can't reproduce the behavior you're describing with 1.1.5.
I'm closing because there doesn't appear to be a real breaking change here: the fact that it worked before seems random and caused by something else that I can't reproduce. |
Related: #179 |
On react-dnd 2.1.4, I am getting |
Hi, since last update (i.e. from 1.1.5 to 1.1.7) I found that getClientOffset()/getSourceClientOffset() most time are null (for DragSourceMonitor).
Details: getClientOffset() is not null first time on drag start (I debug collect function), but it is null during moving and on endDrag.
I tried to debug dnd-react and core-dnd, but because I don't know well architecture I can't find the problem and I'm not sure if is bug or I'm using react-dnd wrong way...
But my implementation works well for 1.1.5, maybe I missed some breaking change ?
I use react-dnd next way (use-case: add photos to some page by drag-and-drop):
The text was updated successfully, but these errors were encountered: