Skip to main content

Search and Top Navigation

#4551 closed bug (notabug)

Opened May 26, 2009 01:31PM UTC

Closed April 07, 2011 01:15PM UTC

Last modified February 01, 2012 08:32AM UTC

Sortable connectWith fails if item is floated

Reported by: dhlavaty Owned by:
Priority: critical Milestone:
Component: ui.sortable Version: 1.7.1
Keywords: float connectwith Cc:
Blocked by: Blocking:
Description

Connecting one sortable to another not working if item is floated (like in 'Display as Grid' demo).

It is working only in IE7. But not working in Firefox, Chrome, Opera.

Attachments (2)
  • connectWith-and-float-bug.html (1.4 KB) - added by dhlavaty May 26, 2009 01:32PM UTC.

    connectWith and float bug works only in IE

  • patch.txt (0.6 KB) - added by jlillywhite July 04, 2009 06:21PM UTC.

    This seems to resolve the issue in Firefox and Chrome.

Change History (7)

Changed June 04, 2009 09:42AM UTC by rdworth comment:1

milestone: 1.7.21.8
priority: blockercritical

Changed July 07, 2009 10:42AM UTC by rdworth comment:2

resolution: → fixed
status: newclosed

Fixed in r2882

Changed April 05, 2011 09:04PM UTC by scribu comment:3

FYI: This caused some issues downstream:

http://core.trac.wordpress.org/ticket/16955

Changed April 07, 2011 01:11PM UTC by rdworth comment:4

milestone: 1.8
resolution: fixed
status: closedreopened

It turns out this test case was invalid. The sortable items had float:left but the sortable containers did not, giving them no height. The fix is a css one, set float:left on the sortable containers as well as the sortable items.

Changed April 07, 2011 01:13PM UTC by rdworth comment:5

Reverted from master (1.9pre) in 54016b8

Changed April 07, 2011 01:15PM UTC by rdworth comment:6

resolution: → invalid
status: reopenedclosed

Reverted from 1-8-stable in c205fbc

Changed February 01, 2012 08:32AM UTC by uacode comment:7

change: float: left to display: inline-block