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

Dragged item to cursor position #34

Open
blomquist78 opened this issue Dec 8, 2015 · 0 comments
Open

Dragged item to cursor position #34

blomquist78 opened this issue Dec 8, 2015 · 0 comments

Comments

@blomquist78
Copy link

Hi, first of all: thanks for the great work!! I only have one small remark: The dragged item seems to always be positioned to the lower right of the dragging cursor. So e.g. if I have a photo that I want to drag and start the drag from the center of the photo, its draggable clone "jumps" by half its width and height to the right and bottom, respectively. Now when dragging, the cursor sticks to the photo's top left corner (I hope the description was somehow understandable).
Is there some way to set the item's anchor point to prevent this visual effect? I would want the cursor to remain at the center of the photo while dragging (or whereever the click occurred).
Thanks and cheers, blomquist

jmgregory pushed a commit to jmgregory/knockout-dragdrop that referenced this issue Feb 26, 2016
…ment (Issue 34)

This only applies to the automatically generated clone element, not
custom template elements.

Original issue can be found here:
One-com#34
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