We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I used the snap modifier in the new version 1.10.26 of interact.js, but it's not working. Here's the code snippet:
interact('.draggable').draggable({ modifiers: [ interact.modifiers.snap({ targets: [startPos], range: Infinity, relativePoints: [{ x: 0.5, y: 0.5 }], endOnly: true, }), ], });
https://codepen.io/mg-ghodela/pen/XWGVWJX?editors=0010
https://codepen.io/mg-ghodela/pen/abMENOr?editors=1010
interact.js version : 1.10.26: Chrome: Windows:
The text was updated successfully, but these errors were encountered:
It's not clear what should or shouldn't happen in the demo
Sorry, something went wrong.
No branches or pull requests
Expected behavior
I used the snap modifier in the new version 1.10.26 of interact.js, but it's not working. Here's the code snippet:
https://codepen.io/mg-ghodela/pen/XWGVWJX?editors=0010
Actual behavior
https://codepen.io/mg-ghodela/pen/abMENOr?editors=1010
System configuration
interact.js version : 1.10.26:
Chrome:
Windows:
The text was updated successfully, but these errors were encountered: