Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#4551 closed bug (notabug)

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.

Change History (7)

comment:1 Changed 7 years ago by rdworth

  • Milestone changed from 1.7.2 to 1.8
  • Priority changed from blocker to critical

comment:2 Changed 7 years ago by rdworth

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2882

comment:3 Changed 5 years ago by scribu

FYI: This caused some issues downstream:

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

comment:4 Changed 5 years ago by rdworth

  • Milestone 1.8 deleted
  • Resolution fixed deleted
  • Status changed from closed to reopened

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.

comment:5 Changed 5 years ago by rdworth

Reverted from master (1.9pre) in 54016b8

comment:6 Changed 5 years ago by rdworth

  • Resolution set to invalid
  • Status changed from reopened to closed

Reverted from 1-8-stable in c205fbc

comment:7 Changed 4 years ago by uacode

change: float: left to display: inline-block

Note: See TracTickets for help on using tickets.