Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Sortable over both x and y axis

#284

I'd like to be able to use Sortable to sort items in a list like this one:

<style type="text/css">
ul {
  margin: 0;
  padding: 0;
  width: 800px;
  overflow: hidden;
}
li {
  list-style-type: none;
  width: 180px;
  margin: 10px;
  float: left;
  text-align: center;
}
</style>

<ul>
  <li>1st item, on 1st row</li>
  <li>2nd item, on 1st row</li>
  <li>3rd item, on 1st row</li>
  <li>4th item, on 1st row</li>
  <li>5th item, on 2nd row!</li>
  <li>6th item, also on 2nd row!</li>
</ul>

As you can see, the 5th and 6th li are pushed to a second row, as they didn't fit in the first row of the 400px ul anymore. Currently, we can only use Sortable on lists that are either horizontal or vertical, not mixed ones like in this example.

Reported by Douwe M. · July 19th, 2010 @ 12:25 AM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • State changed from new to resolved

    Implemented the feature in the new version that ported to RightJS 2

    August 28th, 2010 @ 05:45 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.