Opened 5 years ago

Last modified 5 years ago

#9679 open bug

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

Change History (1)

comment:1 Changed 5 years ago by tj.vantoll

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.

Note: See TracTickets for help on using tickets.