Skip to content
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

getting wrong mouse position if page is scrolled while dragging #36

Open
hangy233 opened this issue Aug 22, 2016 · 1 comment
Open

getting wrong mouse position if page is scrolled while dragging #36

hangy233 opened this issue Aug 22, 2016 · 1 comment

Comments

@hangy233
Copy link

This can be reproduced in the example, resize your browser window and make it shorter than the tree.
if you scroll the window when you are dragging a node. The node will go to a wrong position.
Solutions could be stop drag and drop the node at where it is when start a scroll
or count the scrollTop value in the drag handler.

@hangy233
Copy link
Author

made a pull request #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant