-
Notifications
You must be signed in to change notification settings - Fork 1k
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
moveOnStartChange breaks drag position #94
Comments
Here's what's going on: When drag begins,
However, if
Which conveniently overwrites
I'm not sure how this feature is supposed to work? You can't update the start position during a drag because it breaks the drag coordinates. |
It really doesn't work well, and this is the impetus for On 10/11/15 1:34 AM, Andrew Ray wrote:
|
Fixed readme so users can avoid the several hours of debugging I went through #95 |
I run into the same (or similar) issue, the proper fix is (I think) to not As a work around, I now keep the On Sat, Oct 10, 2015 at 10:57 PM, Andrew Ray notifications@github.com
|
|
Awesome! This separation will help a lot :) On Tue, Oct 27, 2015 at 10:52 PM, Samuel Reed notifications@github.com
|
Check out the associated PR and open
example/index.html
. All it does is addmoveOnStartChange
to one drag element.You can see when you start dragging it the element jumps about 400 pixels down the page, not at the mouse coords, which I think is related to improperly handling/reading
clientX
andclientY
. I was trying to implement a custom drag strategy to deal with my flux flow but it seems it's currently impossible becausemoveOnStartChange
breaks dragging behavior.The text was updated successfully, but these errors were encountered: