#284 ✓resolved
Douwe M.

Sortable over both x and y axis

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

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.

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Tags

Pages