Ticket #4482 (closed bug: patcheswelcome)

Opened 4 years ago

Last modified 3 months ago

Sortable: Placeholder height not being calculated/applied properly in IE7/6

Reported by: bbonifield Owned by:
Priority: major Milestone: 2.0.0
Component: ui.sortable Version: 1.7.1
Keywords: haspatch Cc:
Blocking: Blocked by:

Description

When using a sortable in IE7/6, the height of the placeholder element is not inheriting the height of the current target draggable element. UI tries to add inline CSS for this purpose, but it seems to be failing in IE < 8.

REF:  http://jsbin.com/obogo Example source also attached

Attachments

sortableTest.html Download (1.1 KB) - added by bbonifield 4 years ago.

Change History

Changed 4 years ago by bbonifield

comment:1 Changed 4 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.7.2

comment:2 Changed 4 years ago by joern.zaefferer

  • Milestone changed from 1.7.2 to 1.8

comment:3 Changed 2 years ago by peter4u

workaround:

start: function (event, ui) {
    ui.placeholder.height(ui.helper.height());
}

comment:4 Changed 7 months ago by scott.gonzalez

  • Milestone changed from 1.9.0 to 2.0.0

comment:5 Changed 7 months ago by mikesherov

  • Keywords haspatch added
  • Status changed from new to open

confirmed in IE7 on latest:  http://jsbin.com/obogo/14/edit

comment:6 Changed 3 months ago by tj.vantoll

  • Status changed from open to closed
  • Resolution set to patcheswelcome

I still see the issue in IE7 against 1.10.0 -  http://jsbin.com/obogo/15/edit. It looks like as the OP stated 4 years ago the inline style is being added but it not taking effect in IE7 for whatever reason, but works fine in IE8+.

At this point, we're not going to invest any more time into searching for a workaround that we're comfortable implementing. If anyone has a proposed fix, we'll gladly review a pull request.

Note: See TracTickets for help on using tickets.