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

Feature to disable mouse.offsetX / mouse.offsetY #97

Open
fyllepo opened this issue Jan 4, 2018 · 0 comments
Open

Feature to disable mouse.offsetX / mouse.offsetY #97

fyllepo opened this issue Jan 4, 2018 · 0 comments

Comments

@fyllepo
Copy link

fyllepo commented Jan 4, 2018

In other words... a snap to pointer feature on drag.

I believe this is a worthy feature, an example use-case would a full width nestable list, that when dragging an item its drag state has a max-width applied to it... a change in the original size of the element for example to make it more "friendly" to move around the screen.

Currently mouse.offset calculation will cause an offset that means the element would no longer be positioned with the pointer.

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