-
Notifications
You must be signed in to change notification settings - Fork 91
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
Feature Request #23
Comments
Do you see a way to do this? |
The only way I see to do it is to get the mouse pointer offset in onDragStart and then make it available in onDrop. I'm using this https://stackoverflow.com/questions/33360151/moving-elements-by-dragging-in-dart at the moment but if it were part of your lib. it would make life easier for all. |
I think this would be a helpful feature to include. Would you mind implementing it? I would be happy to review and accept a pull request for it. |
I can try but I am new to Dart and Dart web development... I haven't even looked at your code yet and I an struggling with getting drag and drop to work. But I'll give it a try. |
Let me say your lib is great and easy to use. However, it is lacking one feature (and so is the native dart) that would ease development for many. That one feature would be the offset between the mouse pointer (position) and the upper left corner of the element being dragged. This would help in setting the position for the element being dragged.
The text was updated successfully, but these errors were encountered: