Skip to main content

Search and Top Navigation

#7815 open bug ()

Opened October 26, 2011 03:06PM UTC

Last modified October 29, 2012 05:01AM UTC

Sortable: jumping bug when items size are different.

Reported by: artem.votincev@gmail.com 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.

Attachments (0)
Change History (3)

Changed February 10, 2012 05:15PM UTC by tj.vantoll comment:1

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/.

Changed October 11, 2012 02:55PM UTC by scottgonzalez comment:2

milestone: 1.9.02.0.0

Changed October 29, 2012 05:01AM UTC by mikesherov comment:3

status: newopen
summary: Sortable bug when items size are different.Sortable: jumping bug when items size are different.