Skip to main content

Search and Top Navigation

#9679 open bug ()

Opened November 27, 2013 03:11PM UTC

Last modified November 27, 2013 07:53PM UTC

Sortable: Collision detection off when items use float: right

Reported by: tristanchambers Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Placing objects is very difficult and requires much mouse waving to get the item placed in the intended spot when I set the elements float right.

See jsfiddle: http://jsfiddle.net/HGqN7/1/

I encountered this working with jQuery 1.7/ui 1.8 but it appears to be a problem in all subsequent releases and the git versions as well (included in the above fiddle).

I've tested this on Chrome, Chromium, Firefox, and Safari with the same results.

There have been related tickets to this but they are closed, so maybe this is a different bug? A work around would be much appreciated if anyone knows of one.

Best regards

Attachments (0)
Change History (1)

Changed November 27, 2013 07:53PM UTC by tj.vantoll comment:1

status: newopen
summary: jQuery Sortable broken when li elements float: rightSortable: Collision detection off when items use float: right

I reduced this a little: http://jsfiddle.net/tj_vantoll/jcDd7/. There's a similar issue for resizable (#4985), but I don't see a duplicate of this exact problem for sortable.