Opened 11 years ago

Last modified 10 years ago

#7815 open bug

Sortable: jumping bug when items size are different.

Reported by: [email protected] Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

It looks like there is a bug if you have first item which height much more then the height of the second item. When you start dragging it to sort - it is removed from original position and start moving with mouse. (so the second item become first. this is correct). After that if you move it to the end of new first item - placeholder will not appear. You should move it to the end of the original first item (that is much more as I said). After placeholder appear - behavior become normal, and you need to move mouse back to continue dragging one by one.

Change History (3)

comment:1 Changed 11 years ago by tj.vantoll

I think this is what you're getting at - http://jsfiddle.net/2nnvA/1/. If you start dragging the bigger block the behavior of the placeholder is a little odd. It is kind of weird to be using the placeholder option when there's more than a trivial height difference though. If you set the tolerance to pointer and don't use a placeholder the behavior seems pretty natural - http://jsfiddle.net/Asz3G/1/.

comment:2 Changed 10 years ago by Scott González

Milestone: 1.9.02.0.0

comment:3 Changed 10 years ago by mikesherov

Status: newopen
Summary: Sortable bug when items size are different.Sortable: jumping bug when items size are different.
Note: See TracTickets for help on using tickets.