We are working on an app right now and would like to be able to drag elements on the screen, then drop them, and have them snap into place. Trello does this really nicely, so we were wondering if ya'll know how they did that. I'm assuming this is done with JavaScript, but we were wondering if the Trello community had some insight on the matter.
Hi Max,
We have a drag-and-drop library that puts the element into a certain place on the page, and then the browser handles the positioning of it. Good luck with your app!
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.