Skip to main content

Search and Top Navigation

#4482 closed bug (patcheswelcome)

Opened April 17, 2009 03:55PM UTC

Closed February 09, 2013 02:45AM UTC

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:
Blocked by: Blocking:
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 (1)
Change History (6)

Changed May 07, 2009 10:59AM UTC by jzaefferer comment:1

milestone: TBD1.7.2

Changed May 07, 2009 01:23PM UTC by jzaefferer comment:2

milestone: 1.7.21.8

Changed February 08, 2011 08:48PM UTC by peter4u comment:3

workaround:

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

Changed October 11, 2012 02:54PM UTC by scottgonzalez comment:4

milestone: 1.9.02.0.0

Changed November 04, 2012 06:07PM UTC by mikesherov comment:5

keywords: → haspatch
status: newopen

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

Changed February 09, 2013 02:45AM UTC by tj.vantoll comment:6

resolution: → patcheswelcome
status: openclosed

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.