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

apply magnet during the drag operation #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmsImagine
Copy link

Would it be possible to add something like this so while dragging the bars they snap the the magnet values instead of resizing to the magnet values in dragEnd ?

If you think this would slow down drag events too much could the callback event be modified so the callback can modify the value?

@chrispahm
Copy link
Collaborator

Hey there!
Thanks for your PR!
Sorry I didn't have the time to go through it yet, but it sounds promising!

Best
Christoph

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

Successfully merging this pull request may close these issues.

2 participants