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

originalEvent.offsetX and offsetY are NaN #27

Closed
macrozone opened this Issue Dec 3, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@macrozone

macrozone commented Dec 3, 2014

on drop, the offsetX and offsetY values are NaN, because on line 136 there is:

dropEvt.offsetX = x - target.x;

and target.x is undefined. Target is just the target dom element

@timruffles

This comment has been minimized.

Owner

timruffles commented Dec 3, 2014

good point - re [#17] @jhickner, did you fix this up on your branch?

timruffles added a commit that referenced this issue Feb 19, 2016

Merge pull request #37 from markleusink/master
Fixes #27 (offsetX and offsetY on drop location)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment