It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How does Trello snap tasks into place so nicely?

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.

1 answer

2 votes
Caity Atlassian Team May 19, 2017

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!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

Using Trello to plot a NaNoWriMo novel, Save the Cat! Style

I’m a big fan of writing, tools, and writing tools. So as National Novel Writing Month (an annual 30-day challenge to write a 50,000-word novel) appeared on the horizon, I decided to use two of my fa...

451 views 6 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you